scipy.linalg.blas.stpsv#
- scipy.linalg.blas.stpsv(n, ap, x, incx=1, offx=0, lower=0, trans=0, diag=0, overwrite_x=0) = <fblas function stpsv>#
Solve the triangular system
op(a)@x = bin place for a packed triangular matrix (BLASstpsv).- Parameters:
- nint
Order of the matrix.
- apndarray
Triangular matrix in packed storage.
- xndarray
Input/output vector.
- incxint, optional
Stride between successive elements of x. Default is 1.
- offxint, optional
Index of the first element of x to use. Default is 0.
- lowerint, optional
If 0, the upper triangle is used; if 1, the lower. Default is 0.
- transint, optional
Operation on the matrix: 0 none, 1 transpose, 2 conjugate transpose. Default is 0.
- diagint, optional
If 0, the matrix has a non-unit diagonal; if 1, it is unit-triangular. Default is 0.
- overwrite_xint, optional
If nonzero, x may be overwritten in place. Default is 0.
- Returns:
- xndarray
The solution
x.