scale method

void scale(
  1. double scalar
)

Scale every element of this by scalar

Implementation

void scale(double scalar) {
  _base = MatrixOperation.scalarMultiplication(this, scalar).matrix;
}