Lines Matching refs:nnz

196   int nnz = 0;  in LinearLeastSquaresProblem1()  local
200 rows[nnz] = 0; in LinearLeastSquaresProblem1()
201 cols[nnz] = 0; in LinearLeastSquaresProblem1()
202 values[nnz++] = 1; in LinearLeastSquaresProblem1()
204 rows[nnz] = 0; in LinearLeastSquaresProblem1()
205 cols[nnz] = 2; in LinearLeastSquaresProblem1()
206 values[nnz++] = 2; in LinearLeastSquaresProblem1()
211 rows[nnz] = 1; in LinearLeastSquaresProblem1()
212 cols[nnz] = 0; in LinearLeastSquaresProblem1()
213 values[nnz++] = 3; in LinearLeastSquaresProblem1()
215 rows[nnz] = 1; in LinearLeastSquaresProblem1()
216 cols[nnz] = 3; in LinearLeastSquaresProblem1()
217 values[nnz++] = 4; in LinearLeastSquaresProblem1()
222 rows[nnz] = 2; in LinearLeastSquaresProblem1()
223 cols[nnz] = 1; in LinearLeastSquaresProblem1()
224 values[nnz++] = 5; in LinearLeastSquaresProblem1()
226 rows[nnz] = 2; in LinearLeastSquaresProblem1()
227 cols[nnz] = 4; in LinearLeastSquaresProblem1()
228 values[nnz++] = 6; in LinearLeastSquaresProblem1()
233 rows[nnz] = 3; in LinearLeastSquaresProblem1()
234 cols[nnz] = 1; in LinearLeastSquaresProblem1()
235 values[nnz++] = 7; in LinearLeastSquaresProblem1()
237 rows[nnz] = 3; in LinearLeastSquaresProblem1()
238 cols[nnz] = 2; in LinearLeastSquaresProblem1()
239 values[nnz++] = 8; in LinearLeastSquaresProblem1()
244 rows[nnz] = 4; in LinearLeastSquaresProblem1()
245 cols[nnz] = 1; in LinearLeastSquaresProblem1()
246 values[nnz++] = 9; in LinearLeastSquaresProblem1()
248 rows[nnz] = 4; in LinearLeastSquaresProblem1()
249 cols[nnz] = 2; in LinearLeastSquaresProblem1()
250 values[nnz++] = 1; in LinearLeastSquaresProblem1()
255 rows[nnz] = 5; in LinearLeastSquaresProblem1()
256 cols[nnz] = 2; in LinearLeastSquaresProblem1()
257 values[nnz++] = 1; in LinearLeastSquaresProblem1()
259 rows[nnz] = 5; in LinearLeastSquaresProblem1()
260 cols[nnz] = 3; in LinearLeastSquaresProblem1()
261 values[nnz++] = 1; in LinearLeastSquaresProblem1()
263 rows[nnz] = 5; in LinearLeastSquaresProblem1()
264 cols[nnz] = 4; in LinearLeastSquaresProblem1()
265 values[nnz++] = 1; in LinearLeastSquaresProblem1()
268 A->set_num_nonzeros(nnz); in LinearLeastSquaresProblem1()
304 int nnz = 0; in LinearLeastSquaresProblem2() local
308 values[nnz++] = 1; in LinearLeastSquaresProblem2()
309 values[nnz++] = 2; in LinearLeastSquaresProblem2()
321 values[nnz++] = 3; in LinearLeastSquaresProblem2()
322 values[nnz++] = 4; in LinearLeastSquaresProblem2()
334 values[nnz++] = 5; in LinearLeastSquaresProblem2()
335 values[nnz++] = 6; in LinearLeastSquaresProblem2()
347 values[nnz++] = 7; in LinearLeastSquaresProblem2()
348 values[nnz++] = 8; in LinearLeastSquaresProblem2()
360 values[nnz++] = 9; in LinearLeastSquaresProblem2()
361 values[nnz++] = 1; in LinearLeastSquaresProblem2()
373 values[nnz++] = 1; in LinearLeastSquaresProblem2()
374 values[nnz++] = 1; in LinearLeastSquaresProblem2()
375 values[nnz++] = 1; in LinearLeastSquaresProblem2()
387 memcpy(A->mutable_values(), values.get(), nnz * sizeof(*A->values())); in LinearLeastSquaresProblem2()
438 int nnz = 0; in LinearLeastSquaresProblem3() local
442 values[nnz++] = 1; in LinearLeastSquaresProblem3()
452 values[nnz++] = 3; in LinearLeastSquaresProblem3()
462 values[nnz++] = 5; in LinearLeastSquaresProblem3()
472 values[nnz++] = 7; in LinearLeastSquaresProblem3()
482 values[nnz++] = 9; in LinearLeastSquaresProblem3()
491 memcpy(A->mutable_values(), values.get(), nnz * sizeof(*A->values())); in LinearLeastSquaresProblem3()