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