#include "dense.h"
#include "Mutils.h"
Functions | |
static int | left_cyclic (double x[], int ldx, int j, int k, double cosines[], double sines[]) |
static SEXP | getGivens (double x[], int ldx, int jmin, int rank) |
SEXP | checkGivens (SEXP X, SEXP jmin, SEXP rank) |
SEXP | lsq_dense_Chol (SEXP X, SEXP y) |
SEXP | lsq_dense_QR (SEXP X, SEXP y) |
SEXP | lapack_qr (SEXP Xin, SEXP tl) |
|
|
|
|
|
|
|
Perform a left cyclic shift of columns j to k in the upper triangular matrix x, then restore it to upper triangular form with Givens rotations. The algorithm is based on the Fortran routine DCHEX from Linpack. The lower triangle of x is not modified.
|
|
|
|
|