1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
lu_int basiclu_obj_solve_for_update
(
struct basiclu_object *obj,
lu_int nzrhs,
const lu_int irhs[],
const double xrhs[],
char trans,
lu_int want_solution
);
/*
Purpose:
Call basiclu_solve_for_update() on a BASICLU object. On success, if the
solution was requested, it is provided in obj->lhs and the nonzero pattern
is stored in obj->ilhs[0..obj->nzlhs-1].
Return:
BASICLU_ERROR_invalid_object
obj is NULL or initialized to a null object.
BASICLU_ERROR_out_of_memory
reallocation failed because of insufficient memory.
Other return codes are passed through from basiclu_solve_for_update().
Arguments:
struct basiclu_object *obj
Pointer to an initialized BASICLU object.
lu_int want_solution
Nonzero to compute the solution to the linear system,
zero to only prepare the update.
The other arguments are passed through to basiclu_solve_for_update().
*/