VandermondeMatrix<T> Constructor

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

VandermondeMatrix<T>(ReadOnlySpan<T>, TransposeOperation)

Constructs a new Vandermonde matrix
C#
public VandermondeMatrix(
	ReadOnlySpan<T> bases,
	TransposeOperation transpose = TransposeOperation.None
)

Parameters

bases  ReadOnlySpan<T>
A vector of numbers to raise to the specified power.
transpose  TransposeOperation  (Optional)
Optional. Specifies whether the matrix is transposed.

Remarks

A standard Vandermonde matrix has rising powers along its rows. Its first column always consists of ones and the second column contains the values in bases.

A transposed Vandermonde matrix has rising powers along its columns. Its first row always consists of ones and the second row contains the values in bases.

VandermondeMatrix<T>(Vector<T>, TransposeOperation)

Constructs a new Vandermonde matrix
C#
public VandermondeMatrix(
	Vector<T> bases,
	TransposeOperation transpose = TransposeOperation.None
)

Parameters

bases  Vector<T>
A vector of numbers to raise to the specified power.
transpose  TransposeOperation  (Optional)
Optional. Specifies whether the matrix is transposed.

Remarks

A standard Vandermonde matrix has rising powers along its rows. Its first column always consists of ones and the second column contains the values in bases.

A transposed Vandermonde matrix has rising powers along its columns. Its first row always consists of ones and the second row contains the values in bases.

VandermondeMatrix<T>(ReadOnlySpan<T>, Int32, TransposeOperation)

Constructs a new Vandermonde matrix
C#
public VandermondeMatrix(
	ReadOnlySpan<T> bases,
	int maxExponent,
	TransposeOperation transpose = TransposeOperation.None
)

Parameters

bases  ReadOnlySpan<T>
A vector of numbers to raise to the specified power.
maxExponent  Int32
The largest powers the bases should be raised to.
transpose  TransposeOperation  (Optional)
Optional. Specifies whether the matrix is transposed.

Remarks

A standard Vandermonde matrix has rising powers along its rows. Its first column always consists of ones and the second column contains the values in bases.

A transposed Vandermonde matrix has rising powers along its columns. Its first row always consists of ones and the second row contains the values in bases.

VandermondeMatrix<T>(Vector<T>, Int32, TransposeOperation)

Constructs a new Vandermonde matrix
C#
public VandermondeMatrix(
	Vector<T> bases,
	int maxExponent,
	TransposeOperation transpose = TransposeOperation.None
)

Parameters

bases  Vector<T>
A vector of numbers to raise to the specified power.
maxExponent  Int32
The largest powers the bases should be raised to.
transpose  TransposeOperation  (Optional)
Optional. Specifies whether the matrix is transposed.

Remarks

A standard Vandermonde matrix has rising powers along its rows. Its first column always consists of ones and the second column contains the values in bases.

A transposed Vandermonde matrix has rising powers along its columns. Its first row always consists of ones and the second row contains the values in bases.

See Also