|  | MismatchedSizeException Class | 
            Exception thrown when an operation is performed with operands whose
            sizes are incompatible with the operation.
            
 Inheritance Hierarchy
Inheritance Hierarchy NMath (in NMath.dll) Version: 7.4
 Syntax
Syntax[SerializableAttribute]
public class MismatchedSizeException : NMathException
<SerializableAttribute>
Public Class MismatchedSizeException
	Inherits NMathException
[SerializableAttribute]
public ref class MismatchedSizeException : public NMathException
[<SerializableAttribute>]
type MismatchedSizeException = 
    class
        inherit NMathException
    endThe MismatchedSizeException type exposes the following members.
 Constructors
Constructors|  | Name | Description | 
|---|
|  | MismatchedSizeException | Default constructor. Constructs an empty MismatchedSizeException instance. | 
|  | MismatchedSizeException(String) | Constructs a MismatchedSizeException instance with the specifed exception message. | 
|  | MismatchedSizeException(String, Exception) | Constructs a MismatchedSizeException instance with the specifed exception message
            and underlying (inner) exception. | 
|  | MismatchedSizeException(String, DoubleMatrix, DoubleMatrix) | Constructs a MismatchedSizeException instance with an error message containing
            the dimensions of the matrices. | 
|  | MismatchedSizeException(String, DoubleVector, DoubleVector) | Constructs a MismatchedSizeException instance with an error message containing the
            two incompatible vector lengths. | 
|  | MismatchedSizeException(String, Int32, Int32) | Constructs a MismatchedSizeException instance with an error message containing the
            two incompatible lengths. | 
|  | MismatchedSizeException(String, Int64, Int64) | Constructs a MismatchedSizeException instance with an error message containing the
            two incompatible lengths. | 
|  | MismatchedSizeException(String, Int32, Int32, Int32) | Constructs a MismatchedSizeException instance with an error message containing the
            three incompatible lengths. | 
|  | MismatchedSizeException(String, Int64, Int64, Int64) | Constructs a MismatchedSizeException instance with an error message containing the
            three incompatible lengths. | 
|  | MismatchedSizeException(String, Int32, Int32, Int32, Int32) | Constructs a MismatchedSizeException instance with an error message containing
            the dimensions of the two-dimensional operands. | 
|  | MismatchedSizeException(String, Int64, Int64, Int64, Int64) | Constructs a MismatchedSizeException instance with an error message containing
            the dimensions of the two-dimensional operands. | 
Top Example
Example
            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.
            
 See Also
See Also