TNumber.Diag Method

Builds a square matrix with elements of this vector on the main diagonal.

Definition

Namespace: SMath.Math.Numeric
Assembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.73.9126.0
C#
public TNumber Diag()

Return Value

TNumber
A square matrix contaning elements of this vector on its main diagonal.

Exceptions

GeneralExceptionThrown unless obj is a vector.

See Also