smult method
Matrix-scalar multiplication
Implementation
void smult(double s) {
for (int i = 0; i < elements.length; i++) {
elements[i] *= s;
}
}
Matrix-scalar multiplication
void smult(double s) {
for (int i = 0; i < elements.length; i++) {
elements[i] *= s;
}
}