public DMatrix muli(DMatrix other) { assert (this.length() == other.length()); SimpleCuBlas.mul(this, other, this); return this; }
public DMatrix mul(DMatrix other) { assert (this.length() == other.length()); DMatrix m = new CUDAMatrix(this.rows(), this.columns()); SimpleCuBlas.mul(this, other, m); return m; }