Categorical Vector<T>.As Dense Vector Method
Returns this vector as a dense vector.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
C#
A DenseVector<T> with the same elements as this vector.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
public override DenseVector<T> AsDenseVector()Return Value
DenseVector<T>A DenseVector<T> with the same elements as this vector.
Remarks
If this vector is already a dense vector with the requested storage type, this method returns the current instance. Otherwise it materializes the logical values into a dense vector with the requested storage type.