Note: This API is now obsolete.
Constructs a new dense vector with the specified
components.
Namespace: Extreme.Mathematics.Generic.LinearAlgebraAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
[ObsoleteAttribute("Use the corresponding Vector<T>.Create() method instead.")]
public DenseVector(
int length,
T[] values,
bool reuseComponentArray
)
<ObsoleteAttribute("Use the corresponding Vector<T>.Create() method instead.")>
Public Sub New (
length As Integer,
values As T(),
reuseComponentArray As Boolean
)
public:
[ObsoleteAttribute(L"Use the corresponding Vector<T>.Create() method instead.")]
DenseVector(
int length,
array<T>^ values,
bool reuseComponentArray
)
[<ObsoleteAttribute("Use the corresponding Vector<T>.Create() method instead.")>]
new :
length : int *
values : 'T[] *
reuseComponentArray : bool -> DenseVector
Parameters
- length
- Type: SystemInt32
The number of elements in the
new vector. - values
- Type: T
An array that contains the components of the new
DenseVectorT. - reuseComponentArray
- Type: SystemBoolean
If , the array
referenced by values is used directly. Any
changes to the components of this DenseVectorT
will also affect the original array. If , the
components are copied from values to a new
array.
Numerical Libraries
Supported in: 4.x
Obsolete (compiler warning) in 5.x
Reference