Top Description Fields Constructors Methods
org.apache.commons.math3.linear

public Class NonSquareMatrixException

extends DimensionMismatchException
Class Inheritance
Imports
org.apache.commons.math3.exception.DimensionMismatchException, org.apache.commons.math3.exception.util.LocalizedFormats

Exception to be thrown when a square matrix is expected.
Since
3.0

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
NonSquareMatrixException(int
Row dimension.
wrong
,
int
Column dimension.
expected
)

Construct an exception from the mismatched dimensions.

Method Summary

Inherited from org.apache.commons.math3.exception.DimensionMismatchException:
getDimension

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.commons.math3.exception.DimensionMismatchException.serialVersionUID.

Serializable version Id.

Constructor Detail

NonSquareMatrixExceptionback to summary
public NonSquareMatrixException(int wrong, int expected)

Construct an exception from the mismatched dimensions.

Parameters
wrong:int

Row dimension.

expected:int

Column dimension.