public class Dqrsl extends Object
Constructor and Description |
---|
Dqrsl() |
Modifier and Type | Method and Description |
---|---|
static void |
dqrdc_j(double[][] x,
int n,
int p,
double[] qraux,
int[] jpvt,
int job)
This method decomposes an n by p matrix X into a product, QR, of
an orthogonal n by n matrix Q and an upper triangular n by p matrix R.
|
static int |
dqrsl_j(double[][] x,
int n,
int k,
double[] qraux,
double[] y,
double[] qy,
double[] qty,
double[] b,
double[] rsd,
double[] xb,
int job)
This method "applies the output of DQRDC to compute coordinate
transformations, projections, and least squares solutions."
|
public static void dqrdc_j(double[][] x, int n, int p, double[] qraux, int[] jpvt, int job)
X
- The matrix to be decomposedn
- The number of rows of the matrix Xp
- The number of columns of the matrix Xqraux
- This vector "contains further information required to
recover the orthogonal part of the decomposition."jpvt
- This output vector contains pivoting information.work
- This vector is used as temporary spacejob
- This value indicates whether column pivoting should be performedpublic static int dqrsl_j(double[][] x, int n, int k, double[] qraux, double[] y, double[] qy, double[] qty, double[] b, double[] rsd, double[] xb, int job)
X
- This n by p matrix contains most of the output from DQRDCn
- The number of rows of Xk
- k <= min(n,p) where p is the number of columns of Xqraux
- This vector "contains further information required to
recover the orthogonal part of the decomposition"y
- This n by 1 vector will be manipulated by DQRSLqy
- On output, this vector contains Qy if it has been requestedqty
- On output, this vector contains transpose(Q)y if it has been requestedb
- Parameter estimatesrsd
- Residualsxb
- Predicted valuesjob
- Specifies what is to be computed (see the code for details)Copyright © 2003–2023 UBC Michael Smith Laboratories. All rights reserved.