Vector
Properties
size
Functions
get
set
toDoubleArray
Materialise into a fresh dense DoubleArray, independent of the internal storage.
Link copied to clipboard
Visit each stored entry as (index, value), in ascending index order for any storage. A SparseVector may present numerical zeros as stored, and any other Vector has every index visited.
Link copied to clipboard
Vector norm of type: Norm.One sums absolute values, Norm.Two is the Euclidean norm, and Norm.Infinity and Norm.MaxAbs select the maximum absolute value. An empty vector has norm zero.