docs: public static void scale(double scalar, DMatrixSparseCSC A, DMatrixSparseCSC B) {
          if( A != B ) {
              B.copyStructure(A);
  
              for(int i = 0; i < A.nz_length; i++ ) {
                  B.nz_values[i] = A.nz_values[i]*scalar;
              }
          } else {
              for(int i = 0; i < A.nz_length; i++ ) {
                  B.nz_values[i] *= scalar;
              }
          }
      }