pure functiondgtsv_vec
Solve real system of linear equations A*x=b with b vector and tridiagonal A
Extends from Modelica.Icons.Function (Icon for functions).
Information
Same as function LAPACK.dgtsv, but right hand side is a vector and not a matrix. For details of the arguments, see documentation of dgtsv.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | superdiag | ||
| Real[size(superdiag, 1) + 1] | diag | ||
| Real[size(superdiag, 1)] | subdiag | ||
| Real[size(diag, 1)] | b |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[size(b, 1)] | x | b | |
| Integer | info |