Example #1
0
 public DMatrix mulRowsi(DMatrix colVector) {
   assert (this.rows() == colVector.rows() && colVector.columns() == 1);
   SimpleCuBlas.mulRows(colVector, this);
   return this;
 }
Example #2
0
 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;
 }