Vector<T> Constructor

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Vector<T>(Int32, ArrayAttributes) Constructs a new vector with the specified number of elements.
Vector<T>(SerializationInfo, StreamingContext) Constructs a new vector from serialization values.

Vector<T>(Int32, ArrayAttributes)

Constructs a new vector with the specified number of elements.
C#
protected Vector(
	int length,
	ArrayAttributes attributes
)

Parameters

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

Exceptions

ArgumentOutOfRangeExceptionlength is less than zero.

Vector<T>(SerializationInfo, StreamingContext)

Constructs a new vector from serialization values.
C#
protected Vector(
	SerializationInfo info,
	StreamingContext context
)

Parameters

info  SerializationInfo
The values needed to serialize or deserialize the Vector<T>.
context  StreamingContext
The source and destination of a given serialized stream.

Remarks

This constructor is called internally by the .NET framework when a Vector<T> is deserialized.

See Also