[in] | order | Specifies, whether the matrix is stored in column major order (i.e. CblasColMajor) or in row major order (i.e. CblasRowMajor). |
[in] | uplo | Specifies, whether matrix A is upper triangular (i.e. CblasUpper) or lower triangular (i.e. CblasLower). |
[in] | trans | Specifies op(A). if trans == CblasNoTrans, op(A) = A; if trans == CblasTrans, op(A) = AT; if trans == CblasConjTrans, op(A) = AH; |
[in] | diag | Specifies, whether the triangualr matrix A is a unit triangular matrix, i.e. the diagonal elements of A are one. if diag == CblasNonUnit, the diagonal elements of A are not assumed to be one; if diag == CblasUnit, the diagonal elements of A are assumed to be one and therefor not referenced; |
[in] | n | The number of columns of A and rows of B; n must be at least 0. |
[in] | nrhs | The number of columns of B; nrhs must be at least 0. |
[in] | A | The array containing matrix A. |
[in] | lda | The first dimension of A, i.e. the actual number of rows of A. |
[in,out] | B | On input B is the array holding the right hand sides of the equations, on output, it will hold the solution for each equation system. |
[in] | ldb | The first dimension of B, i.e. the actual number of columns of B. tptrs solves the following equation system: op(A)*X = B where op(A) is either A, AT or AH; and B is a matrix of right hand sides and will contain the solution of all equations on output. |
[in] | order | Specifies, whether the matrix is stored in column major order (i.e. CblasColMajor) or in row major order (i.e. CblasRowMajor). |
[in] | uplo | Specifies, whether matrix A is upper triangular (i.e. CblasUpper) or lower triangular (i.e. CblasLower). |
[in] | trans | Specifies op(A). if trans == CblasNoTrans, op(A) = A; if trans == CblasTrans, op(A) = AT; if trans == CblasConjTrans, op(A) = AH; |
[in] | diag | Specifies, whether the triangualr matrix A is a unit triangular matrix, i.e. the diagonal elements of A are one. if diag == CblasNonUnit, the diagonal elements of A are not assumed to be one; if diag == CblasUnit, the diagonal elements of A are assumed to be one and therefor not referenced; |
[in] | n | The number of columns of A and rows of B; n must be at least 0. |
[in] | nrhs | The number of columns of B; nrhs must be at least 0. |
[in] | AP | The array containing matrix A. |
[in,out] | B | On input B is the array holding the right hand sides of the equations, on output, it will hold the solution for each equation system. |
[in] | ldb | The first dimension of B, i.e. the actual number of columns of B. laswp_cpu performs a series of row interchanges on the matrix A. One row interchange is initiated for each of rows k1 through k2 of A. |
[in] | order | Specifies, whether the matrix is stored in column major order (i.e. CblasColMajor) or in row major order (i.e. CblasRowMajor). Since a translation of the data would be too expensiv, if it was stored in row major order, the BLAS level1 function SSWAP will be called instead. The beginning column of the vector in A will then be LDA-N. |
[in] | n | The number of columns of the matrix A. |
[in,out] | A | Array of dimension (LDA,N). On entry, the matrix of column dimension N to which the row interchanges will be applied. On exit, the permuted matrix. |
[in] | lda | If the matrix is stored in column major order, lda specifies the actual number of rows of A. If else the matrix is stored in row major order, lda specifies the actual number of columns of A. |
[in] | k1 | The first element of ipiv for which a row interchange will be done. |
[in] | k2 | The last element of ipiv for which a row interchange will be done. |
[in] | ipiv | Array of dimension (k2*abs(incx)). The vector of pivot indices. Only the elements in positions k1 through k2 of ipiv are accessed. ipiv(k) = l implies rows k and l are to be interchanged. |
[in] | incx | The increment between successive values of ipiv. If ipiv is negative, the pivots are applied in reverse order. |