public DMatrix muli(double v) { SimpleCuBlas.scal(this, v); return this; }
public DMatrix mul(double v) { DMatrix m = new CUDAMatrix(this.rows(), this.columns(), this.toArray()); SimpleCuBlas.scal(m, v); return m; }