|
M4RI 1.0.1
|
Triangular system solving with Matrix routines. More...
Go to the source code of this file.
Functions | |
| void | mzd_trsm_upper_right (mzd_t *U, mzd_t *B, const int cutoff) |
| Solves X U = B with X and B matrices and U upper triangular. | |
| void | _mzd_trsm_upper_right (mzd_t *U, mzd_t *B, const int cutoff) |
| Solves X U = B with X and B matrices and U upper triangular. | |
| void | mzd_trsm_lower_right (mzd_t *L, mzd_t *B, const int cutoff) |
| Solves X L = B with X and B matrices and L lower triangular. | |
| void | _mzd_trsm_lower_right (mzd_t *L, mzd_t *B, const int cutoff) |
| Solves X L = B with X and B with matrices and L lower triangular. | |
| void | mzd_trsm_lower_left (mzd_t *L, mzd_t *B, const int cutoff) |
| Solves L X = B with X and B matrices and L lower triangular. | |
| void | _mzd_trsm_lower_left (mzd_t *L, mzd_t *B, const int cutoff) |
| Solves L X = B with X and B matrices and L lower triangular. | |
| void | mzd_trsm_upper_left (mzd_t *U, mzd_t *B, const int cutoff) |
| Solves U X = B with X and B matrices and U upper triangular. | |
| void | _mzd_trsm_upper_left (mzd_t *U, mzd_t *B, const int cutoff) |
| Solves U X = B with X and B matrices and U upper triangular. | |
Triangular system solving with Matrix routines.
Solves L X = B with X and B matrices and L lower triangular.
X is stored inplace on B.
| L | Input lower triangular matrix. |
| B | Input matrix, being overwritten by the solution matrix X |
| cutoff | Minimal dimension for Strassen recursion. |
|\ ______
| \ | |
| \ | B0 |
|L00\ | |
|____\ |______|
| |\ | |
| | \ | |
| | \ | B1 |
|L10 |L11\ | |
|____|____\ |______|
Solves X L = B with X and B with matrices and L lower triangular.
This version assumes that the matrices are at an even position on the RADIX grid and that their dimension is a multiple of RADIX. X is stored inplace on B.
| L | Input lower triangular matrix. |
| B | Input matrix, being overwritten by the solution matrix X |
| cutoff | Minimal dimension for Strassen recursion. |
|\
| \
| \
|L00\
|____\
| |\
| | \
| | \
|L10 |L11\
|____|____\
_________
|B0 |B1 |
|____|____|
Solves U X = B with X and B matrices and U upper triangular.
X is stored inplace on B.
| U | Input upper triangular matrix. |
| B | Input matrix, being overwritten by the solution matrix X |
| cutoff | Minimal dimension for Strassen recursion. |
__________ ______
\ U00| | | |
\ |U01 | | |
\ | | | B0 |
\ | | | |
\|____| |______|
\ | | |
\U11| | |
\ | | B1 |
\ | | |
\| |______|
Solves X U = B with X and B matrices and U upper triangular.
X is stored inplace on B.
| U | Input upper triangular matrix. |
| B | Input matrix, being overwritten by the solution matrix X |
| cutoff | Minimal dimension for Strassen recursion. |
_________
\U00| |
\ |U01|
\ | |
\|___|
\U11|
\ |
\ |
\|
_______
|B0 |B1 |
|___|___|
Solves L X = B with X and B matrices and L lower triangular.
X is stored inplace on B.
This is the wrapper function including bounds checks. See _mzd_trsm_lower_left() for implementation details.
| L | Input lower triangular matrix. |
| B | Input matrix, being overwritten by the solution matrix X |
| cutoff | Minimal dimension for Strassen recursion. |
Solves X L = B with X and B matrices and L lower triangular.
X is stored inplace on B.
This is the wrapper function including bounds checks. See _mzd_trsm_upper_right() for implementation details.
| L | Input upper triangular matrix. |
| B | Input matrix, being overwritten by the solution matrix X |
| cutoff | Minimal dimension for Strassen recursion. |
Solves U X = B with X and B matrices and U upper triangular.
X is stored inplace on B.
This is the wrapper function including bounds checks. See _mzd_trsm_upper_left() for implementation details.
| U | Input upper triangular matrix. |
| B | Input matrix, being overwritten by the solution matrix X |
| cutoff | Minimal dimension for Strassen recursion. |
Solves X U = B with X and B matrices and U upper triangular.
X is stored inplace on B.
This is the wrapper function including bounds checks. See _mzd_trsm_upper_right() for implementation details.
| U | Input upper triangular matrix. |
| B | Input matrix, being overwritten by the solution matrix X |
| cutoff | Minimal dimension for Strassen recursion. |
1.7.4