use of com.tencent.angel.ml.math.vector.DenseIntVector in project angel by Tencent.
the class DenseIntMatrix method initVector.
/**
* init the vector by set the value
*
* @param rowIndex row index
* @param values the values of row
* @return
*/
private DenseIntVector initVector(int rowIndex, int[] values) {
DenseIntVector ret = new DenseIntVector((int) col, values);
ret.setMatrixId(matrixId);
ret.setRowId(rowIndex);
return ret;
}
Aggregations