isNonsingular method
Is the matrix nonsingular? return true if U, and hence A, is nonsingular.
Implementation
bool isNonsingular() {
for (var j = 0; j < _n; j++) {
if (_LUMatrix[j][j] == 0) {
return false;
}
}
return true;
}
Is the matrix nonsingular? return true if U, and hence A, is nonsingular.
bool isNonsingular() {
for (var j = 0; j < _n; j++) {
if (_LUMatrix[j][j] == 0) {
return false;
}
}
return true;
}