Divooka Reference

Linear Algebra

Usable

Vectors and matrices

Guide on the Methodox Wiki

66 nodes in 3 categories

Ships with
Divooka ExploreDivooka Compute
Support tier
Tier 2 (proposed)
Package
Numerics
Numerics

Vectors, matrices and tensors, and sampling from distributions.

Vector

Make VectorConstruct empty.ContainsWhether any element is exactly equal to Item; see DivookaTensor1D.IndexOf for what exact means.CopyMake a copyCopy ToCopies every element into Array, starting at Array Index.CountThe number of elements; the same as DivookaTensor1D.Length.IndexThe positions of the elements as numbers, 0, 1, 2 and so on, one per element; handy as the x values when plotting the vector.ItemThe element at Index, counting from zero.LengthGet length of vectorSizeGet string representation of size.Get EnumeratorGoes through the elements in order.Get Preview ArrayThe elements as an array, for the preview display; this is the vector's own storage, not a copy.Get Preview StringThe elements as text for the preview display, one per line, written in the current culture's number format.Index OfThe position of the first element equal to Item, counting from zero.NormAnother name for lengthShiftMoves every element along by Offset positions, giving a new vector of the same length; the original is unchanged.To ArrayDefensive copyTo StringToString overrideAccumulate ApplyApplies certain operation starting from base value on top of entire vector and return the resulting vector and final valueAddition OperationAdds two vectorsBitwise Or OperationAppend an elementDivision OperationDivide element-wiseExclusive Or OperationExponent element-wiseOp ImplicitMultiply OperationMultiply element-wiseSubtraction OperationSubtract two vectorsUnary Negation OperationGets negativeUnary Plus OperationIdentity (no copy is made)

Vector Routines

Matrix