Home > Extreme Optimization Mathematics Library for .NET > Reference > Extreme.Mathematics.LinearAlgebra Namespace
Represents an exception that is thrown when the dimensions of Matrix or Vector objects are not compatible for the requested operation.
For a list of all members of this type, see DimensionMismatchException Members.
System.Object
Exception
SystemException
ArgumentException
DimensionMismatchException
There are many reasons why a DimensionMismatchException may be thrown. In every case, the dimensions of some or all of the Vector or Matrix arguments involved in an operation are not compatible. Some examples of requirements that may be violated, resulting in a DimensionMismatchException, are:
A number of properties give more information about the cause of the exception: FirstDimensionType, FirstParameterName, SecondDimensionType and SecondParameterName.
You can avoid this exception by verifying that the dimensions of the objects (RowCount, ColumnCount and/or Length) are compatible for the operation you want to perform.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Mathematics (in Extreme.Mathematics.dll)
DimensionMismatchException Members | Extreme.Mathematics.LinearAlgebra Namespace