Lines Matching refs:function
24 function CeedVector(c::Ceed, len::Integer; allocate::Bool=true)
41 function Base.show(io::IO, ::MIME"text/plain", v::CeedVector)
50 function Base.length(::Type{T}, v::CeedVector) where {T}
83 function norm(v::CeedVector, ntype::NormType)
98 function norm(v::CeedVector, p::Real)
129 function setarray!(v::CeedVector, mtype::MemType, cmode::CopyMode, arr)
139 Sync the [`CeedVector`](@ref) to a specified [`MemType`](@ref). This function is used to
141 already synchronized, this function results in a no-op.
152 function takearray!(v::CeedVector, mtype::MemType)
159 # Helper function to parse arguments of @witharray and @witharray_read
160 function witharray_parse(assignment, args)
244 function CeedVector(c::Ceed, v2::AbstractVector; mtype=MEM_HOST, cmode=COPY_VALUES)
255 function Base.Vector(v::CeedVector)
279 function witharray(f, v::CeedVector, mtype::MemType=MEM_HOST)
303 function witharray_read(f, v::CeedVector, mtype::MemType=MEM_HOST)
320 function scale!(v::CeedVector, a::Real)
332 `x`, `y`. This is different than the order of arguments of the C function `CeedVectorAXPY`.
334 function axpy!(a::Real, x::CeedVector, y::CeedVector)
344 function pointwisemult!(w::CeedVector, x::CeedVector, y::CeedVector)