Lines Matching refs:tsm
387 TripletSparseMatrix* tsm = in CreateJacobianBlockSparsityTranspose() local
392 int* rows = tsm->mutable_rows(); in CreateJacobianBlockSparsityTranspose()
393 int* cols = tsm->mutable_cols(); in CreateJacobianBlockSparsityTranspose()
394 double* values = tsm->mutable_values(); in CreateJacobianBlockSparsityTranspose()
408 if (num_nonzeros >= tsm->max_num_nonzeros()) { in CreateJacobianBlockSparsityTranspose()
409 tsm->set_num_nonzeros(num_nonzeros); in CreateJacobianBlockSparsityTranspose()
410 tsm->Reserve(2 * num_nonzeros); in CreateJacobianBlockSparsityTranspose()
411 rows = tsm->mutable_rows(); in CreateJacobianBlockSparsityTranspose()
412 cols = tsm->mutable_cols(); in CreateJacobianBlockSparsityTranspose()
413 values = tsm->mutable_values(); in CreateJacobianBlockSparsityTranspose()
424 tsm->set_num_nonzeros(num_nonzeros); in CreateJacobianBlockSparsityTranspose()
425 return tsm; in CreateJacobianBlockSparsityTranspose()