dgtsv_vec

Solve real system of linear equations A*x=b with b vector and tridiagonal A

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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.

Syntax

(x, info) = dgtsv_vec(superdiag, diag, subdiag, b)

Inputs (4)

superdiag

Type: Real[:]

diag

Type: Real[size(superdiag, 1) + 1]

subdiag

Type: Real[size(superdiag, 1)]

b

Type: Real[size(diag, 1)]

Outputs (2)

x

Default Value: b

Type: Real[size(b, 1)]

info

Type: Integer