NEURON
qrfactor.c File Reference
#include <../../nrnconf.h>
#include <stdio.h>
#include "matrix2.h"
#include <math.h>

Go to the source code of this file.

Macros

#define sign(x)   ((x) > 0.0 ? 1 : ((x) < 0.0 ? -1 : 0 ))
 

Functions

VECUsolve ()
 
MATQRfactor (MAT *A, diag)
 
MATQRCPfactor (MAT *A, diag, PERM *px)
 
VEC_Qsolve (MAT *QR, diag, VEC *diag *b, VEC *diag *x, VEC *diag *tmp)
 
MATmakeQ (MAT *QR, diag, MAT *Qout)
 
MATmakeR (MAT *QR, MAT *Rout)
 
VECQRsolve (MAT *QR, diag, VEC *diag *b, VEC *diag *x)
 
VECQRCPsolve (MAT *QR, diag, PERM *pivot, VEC *b, VEC *x)
 
static VECUmlt (MAT *U, VEC *x, VEC *out)
 
static VECUTmlt (MAT *U, VEC *x, VEC *out)
 
VECQRTsolve (MAT *A, VEC *diag, VEC *c, VEC *sc)
 
double QRcondest (MAT *QR)
 

Variables

static char rcsid [] = "qrfactor.c,v 1.1 1997/12/04 17:55:45 hines Exp"
 

Macro Definition Documentation

◆ sign

#define sign (   x)    ((x) > 0.0 ? 1 : ((x) < 0.0 ? -1 : 0 ))

Definition at line 52 of file qrfactor.c.

Function Documentation

◆ _Qsolve()

VEC* _Qsolve ( MAT QR,
diag  ,
VEC *diag b,
VEC *diag x,
VEC *diag tmp 
)

Definition at line 185 of file qrfactor.c.

◆ makeQ()

MAT* makeQ ( MAT QR,
diag  ,
MAT Qout 
)

Definition at line 226 of file qrfactor.c.

◆ makeR()

MAT* makeR ( MAT QR,
MAT Rout 
)

Definition at line 276 of file qrfactor.c.

◆ QRcondest()

double QRcondest ( MAT QR)

Definition at line 449 of file qrfactor.c.

◆ QRCPfactor()

MAT* QRCPfactor ( MAT A,
diag  ,
PERM px 
)

Definition at line 102 of file qrfactor.c.

◆ QRCPsolve()

VEC* QRCPsolve ( MAT QR,
diag  ,
PERM pivot,
VEC b,
VEC x 
)

Definition at line 321 of file qrfactor.c.

◆ QRfactor()

MAT* QRfactor ( MAT A,
diag   
)

Definition at line 65 of file qrfactor.c.

◆ QRsolve()

VEC* QRsolve ( MAT QR,
diag  ,
VEC *diag b,
VEC *diag x 
)

Definition at line 295 of file qrfactor.c.

◆ QRTsolve()

VEC* QRTsolve ( MAT A,
VEC diag,
VEC c,
VEC sc 
)

Definition at line 390 of file qrfactor.c.

◆ Umlt()

static VEC* Umlt ( MAT U,
VEC x,
VEC out 
)
static

Definition at line 343 of file qrfactor.c.

◆ Usolve()

VEC* Usolve ( )

◆ UTmlt()

static VEC* UTmlt ( MAT U,
VEC x,
VEC out 
)
static

Definition at line 363 of file qrfactor.c.

Variable Documentation

◆ rcsid

char rcsid[] = "qrfactor.c,v 1.1 1997/12/04 17:55:45 hines Exp"
static

Definition at line 42 of file qrfactor.c.