Lines Matching defs:num_nonzeros
1543 int num_nonzeros = 0;
1561 if (num_nonzeros >= tsm->max_num_nonzeros()) {
1562 tsm->set_num_nonzeros(num_nonzeros);
1563 tsm->Reserve(2 * num_nonzeros);
1568 CHECK_LT(num_nonzeros, tsm->max_num_nonzeros());
1571 rows[num_nonzeros] = r;
1572 cols[num_nonzeros] = c;
1573 values[num_nonzeros] = 1.0;
1574 ++num_nonzeros;
1578 tsm->set_num_nonzeros(num_nonzeros);