VectorBuilderTSameAsTU(VectorTU, Int32) Method |
Create a new vector with the same kind of the provided example.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic Vector<T> SameAs<TU>(
Vector<TU> example,
int length
)
where TU : struct, new(), IEquatable<TU>, IFormattable
Parameters
- example VectorTU
- The example vector.
- length Int32
- The length of the new vector.
Type Parameters
- TU
- The element type of the example vector.
Return Value
VectorTThe created vector.
See Also