DenseVector<T> Constructor

Constructs a new vector with the specified number of elements.

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.0.0
C#
protected DenseVector(
	int length,
	ArrayAttributes attributes
)

Parameters

length  Int32
The number of elements in the new vector.
attributes  ArrayAttributes
The attributes of the new vector.

Exceptions

ArgumentOutOfRangeException

length is less than zero.

See Also