C# Class YAMP.Exceptions.YAMPDifferentDimensionsException

Class to use when two matrices (or objects) have different dimensions.
Inheritance: YAMPRuntimeException
Show file Open project: FlorianRappl/YAMP

Public Methods

Method Description
YAMPDifferentDimensionsException ( Int32 rowsA, Int32 columnsA, Int32 rowsB, Int32 columnsB ) : System

Creates a new different dimensions exception.

YAMPDifferentDimensionsException ( MatrixValue A, MatrixValue B ) : System

Creates a new different dimensions exception.

Method Details

YAMPDifferentDimensionsException() public method

Creates a new different dimensions exception.
public YAMPDifferentDimensionsException ( Int32 rowsA, Int32 columnsA, Int32 rowsB, Int32 columnsB ) : System
rowsA System.Int32 The rows in A.
columnsA System.Int32 The columns in A.
rowsB System.Int32 The rows in B.
columnsB System.Int32 The columns in B.
return System

YAMPDifferentDimensionsException() public method

Creates a new different dimensions exception.
public YAMPDifferentDimensionsException ( MatrixValue A, MatrixValue B ) : System
A MatrixValue The matrix A.
B MatrixValue The matrix B.
return System