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

public Class NonSymmetricMatrixException

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

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

Field Summary

Modifier and TypeField and Description
private final int
column

Column.

private final int
row

Row.

private static final long
private final double
threshold

Threshold.

Constructor Summary

AccessConstructor and Description
public
NonSymmetricMatrixException(int
Row index.
row
,
int
Column index.
column
,
double
Relative symmetry threshold.
threshold
)

Construct an exception.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the column index of the entry.
getColumn
()

public int

Returns:

the row index of the entry.
getRow
()

public double

Returns:

the relative symmetry threshold.
getThreshold
()

Inherited from org.apache.commons.math3.exception.MathIllegalArgumentException:
getContextgetLocalizedMessagegetMessage

Field Detail

columnback to summary
private final int column

Column.

rowback to summary
private final int row

Row.

serialVersionUIDback to summary
private static final long serialVersionUID

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

Serializable version Id.

thresholdback to summary
private final double threshold

Threshold.

Constructor Detail

NonSymmetricMatrixExceptionback to summary
public NonSymmetricMatrixException(int row, int column, double threshold)

Construct an exception.

Parameters
row:int

Row index.

column:int

Column index.

threshold:double

Relative symmetry threshold.

Method Detail

getColumnback to summary
public int getColumn()
Returns:int

the column index of the entry.

getRowback to summary
public int getRow()
Returns:int

the row index of the entry.

getThresholdback to summary
public double getThreshold()
Returns:double

the relative symmetry threshold.