SQL function computing Conjugate Gradient.
More...
|
| float [] | conjugate_gradient (text matrix, text val_id, text row_id, float[] b, float precision_limit, int verbosity) |
| | Compute conjugate gradient. More...
|
| |
| float [] | conjugate_gradient (text matrix, text val_id, text row_id, float[] b, float precision_limit) |
| |
◆ conjugate_gradient() [1/2]
| float [] conjugate_gradient |
( |
text |
matrix, |
|
|
text |
val_id, |
|
|
text |
row_id, |
|
|
float [] |
b, |
|
|
float |
precision_limit, |
|
|
int |
verbosity |
|
) |
| |
- Parameters
-
| matrix | Name of the table containing argument matrix A |
| val_id | Name of the column contains row values |
| row_id | Name of the column contains row number |
| b | Array containing values of b |
| precision_limit | Precision threshold after which process will terminate |
| verbosity | Verbose flag (0 = false, 1 = true) |
- Returns
- Array containing values of x
◆ conjugate_gradient() [2/2]
| float [] conjugate_gradient |
( |
text |
matrix, |
|
|
text |
val_id, |
|
|
text |
row_id, |
|
|
float [] |
b, |
|
|
float |
precision_limit |
|
) |
| |