Constructs vector from array of arguments
Namespace: Altaxo.Calc.Ode.ObsoleteAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public Vector(
params double[] elts
)
Parameters
- elts Double
- Elements of array
Example This creates vector with three elements -1,0,1. New
array is allocated for this vector:
Vector v = new Vector(-1,0,1)
Next example creates vector that wraps specified array. Please note
that no array copying is made thus changing of source array with change vector elements.
double[] arr = new double[] { -1,0,1 };
Vector v = new Vector(arr);
See Also