MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / isSquare

Method isSquare

JSAT/src/jsat/linear/Matrix.java:591–594  ·  view source on GitHub ↗

Returns true if the matrix is square, meaning it has the same number of #rows() rows and #cols() columns. @return true if this matrix is square, false if it is rectangular.

()

Source from the content-addressed store, hash-verified

589 * rectangular.
590 */
591 public boolean isSquare()
592 {
593 return rows() == cols();
594 }
595
596 /**
597 * Alters the current matrix by swapping the values stored in two different

Callers 13

QRDecompositionMethod · 0.45
absDetMethod · 0.45
CholeskyDecompositionMethod · 0.45
isSymmetricMethod · 0.45
mutableTransposeMethod · 0.45
qrMethod · 0.45
covarianceMatrixMethod · 0.45
qrMethod · 0.45
hessMethod · 0.45
solveMethod · 0.45
setMeanCovarianceMethod · 0.45

Calls 2

rowsMethod · 0.95
colsMethod · 0.95

Tested by

no test coverage detected