public DMatrix mulRowsi(DMatrix colVector) { assert (this.rows() == colVector.rows() && colVector.columns() == 1); SimpleCuBlas.mulRows(colVector, this); return this; }
public DMatrix mulRows(DMatrix colVector) { assert (this.rows() == colVector.rows() && colVector.columns() == 1); DMatrix m = new CUDAMatrix(this.rows(), this.columns(), this.toArray()); SimpleCuBlas.mulRows(colVector, m); return m; }