|
|
◆ csx_ds_solve()
| void csx_ds_solve |
( |
int |
n, |
|
|
const double |
d[], |
|
|
const double |
b[], |
|
|
double |
x[], |
|
|
int * |
info |
|
) |
| |
Diagonal scaling preconditioner (CSC/CSR)
- Purpose
- This routine is the diagonal scaling preconditioner for the coefficient matrix A of the sparse linear equations. It solves the equation M*x = b, where M (= diagonal matrix of A) is the preconditioner matrix.
- Parameters
-
| [in] | n | Dimension of matrix A. (n >= 0) (If n = 0, returns without computation) |
| [in] | d[] | Array d[ld] (ld >= n)
Diagonal elements of preconditioner matrix M obtained by csc_ssor(). |
| [in] | b[] | Array b[lb] (lb >= n)
Right hand side vector b. |
| [out] | x[] | Array x[lx] (lx >= n)
Solution vector x. |
| [out] | info | = 0: Successful exit.
= i < 0: The (-i)-th argument is invalid. |
|