Vector of constants
Datatype to store vector with a constant value.
API
ExtendableGrids.VectorOfConstants
— Typestruct VectorOfConstants{T, Tl} <: AbstractArray{T, 1}
Vector with constant value
Base.getindex
— Methodgetindex(v::VectorOfConstants, i) -> Any
Access
Base.iterate
— Methoditerate(
v::VectorOfConstants,
state
) -> Union{Nothing, Tuple{Any, Any}}
Iterator
Base.iterate
— Methoditerate(v::VectorOfConstants) -> Tuple{Any, Int64}
Iterator
Base.length
— Methodlength(v::VectorOfConstants) -> Any
Length
Base.size
— Methodsize(v::VectorOfConstants) -> Tuple{Any}
Size
Base.unique
— Methodunique(v::VectorOfConstants) -> Vector
Shortcut for unique