![]() |
![]() |
Collaboration diagram for DSPF_dp_qrd_inverse:
![]() |
Functions | |
int | DSPF_dp_qrd_inverse (const int Nrows, const int Ncols, double *restrict Q, double *restrict R, double *restrict inv_A) |
int | DSPF_dp_qrd_inverse_cmplx (const int Nrows, const int Ncols, double *restrict Q, double *restrict R, double *restrict inv_A) |
int DSPF_dp_qrd_inverse | ( | const int | Nrows, | |
const int | Ncols, | |||
double *restrict | Q, | |||
double *restrict | R, | |||
double *restrict | inv_A | |||
) |
This function processes an orthogonal matrix Q, and an upper triangular matrix R generated by DSPF_dp_qrd and generates the inverse of the A matrix where inv_A=inv(R)*inv(Q). In place processing is performed on the R matrix such that its original contents are modified. The values stored in the matrices are assumed to be double precision floating point values. This code is suitable for dense matrices. No optimizations are made for sparse matrices.
Nrows | = number of rows in matrix A | |
Ncols | = number of columns in matrix A | |
Q | = pointer to lower triangular matrix Q[Nrows*Nrows] | |
R | = pointer to upper triangular matrix R[Nrows*Ncols] | |
inv_A | = pointer to inverse of matrix A[Nrows*Ncols] |
int DSPF_dp_qrd_inverse_cmplx | ( | const int | Nrows, | |
const int | Ncols, | |||
double *restrict | Q, | |||
double *restrict | R, | |||
double *restrict | inv_A | |||
) |
This function processes an orthogonal matrix Q, and an upper triangular matrix R generated by DSPF_dp_qrd and generates the inverse of the A matrix where inv_A=inv(R)*inv(Q). In place processing is performed on the R matrix such that its original contents are modified. The values stored in the matrices are assumed to be double precision floating point values. This code is suitable for dense matrices. No optimizations are made for sparse matrices.
Nrows | = number of rows in matrix A | |
Ncols | = number of columns in matrix A | |
Q | = pointer to lower triangular matrix Q[Nrows*2*Nrows] | |
R | = pointer to upper triangular matrix R[Nrows*2*Ncols] | |
inv_A | = pointer to inverse of matrix A[Nrows*2*Ncols] |