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

public Interface AnyMatrix

Known Direct Subinterfaces
org.apache.commons.math3.linear.FieldMatrix, org.apache.commons.math3.linear.RealMatrix

Interface defining very basic matrix operations.
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

columnDimension
getColumnDimension
()

Returns the number of columns in the matrix.

public int

Returns:

rowDimension
getRowDimension
()

Returns the number of rows in the matrix.

public boolean

Returns:

true if the matrix is square (rowDimension = columnDimension)
isSquare
()

Is this a square matrix?

Method Detail

getColumnDimensionback to summary
public int getColumnDimension()

Returns the number of columns in the matrix.

Returns:int

columnDimension

getRowDimensionback to summary
public int getRowDimension()

Returns the number of rows in the matrix.

Returns:int

rowDimension

isSquareback to summary
public boolean isSquare()

Is this a square matrix?

Returns:boolean

true if the matrix is square (rowDimension = columnDimension)