Constructs a MatrixNotSquareException instance with an error message containing the name of the operation, and the number of rows and columns in the non-square matrix.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public MatrixNotSquareException(
	string operation,
	long rows,
	long cols
)
Visual Basic (Declaration)
Public Sub New ( _
	operation As String, _
	rows As Long, _
	cols As Long _
)
Visual C++
public:
MatrixNotSquareException(
	String^ operation, 
	long long rows, 
	long long cols
)

Parameters

operation
Type: System..::.String
The name of the operation being performed
rows
Type: System..::.Int64
The number of rows in the matrix.
cols
Type: System..::.Int64
The number of columns in the matrix.

See Also