Exception thrown when an operation is performed with operands whose
sizes are incompatible with the operation.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public class MismatchedSizeException : NMathException |
| Visual Basic (Declaration) |
|---|
Public Class MismatchedSizeException _ Inherits NMathException |
| Visual C++ |
|---|
public ref class MismatchedSizeException : public NMathException |
Examples
A MismatchedSizeException is thrown, for example, if you try to
add two vectors with different lengths, or take the inner product of
matrices A and B when the number of columns of A is not equal to
the number of rows of B.
Inheritance Hierarchy
System..::.Object
System..::.Exception
System..::.ApplicationException
CenterSpace.NMath.Core..::.NMathException
CenterSpace.NMath.Core..::.MismatchedSizeException
System..::.Exception
System..::.ApplicationException
CenterSpace.NMath.Core..::.NMathException
CenterSpace.NMath.Core..::.MismatchedSizeException