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

Go to the source code of this file.

Macros

#define sgn(x)   ((x) >= 0 ? 1 : -1)
 
#define MAX_STACK   100
 

Functions

static void fixsvd (VEC *d, MAT *U, MAT *V)
 
VECbisvd (VEC *d, VEC *f, MAT *U, MAT *V)
 
MATbifactor (MAT *A, MAT *U, MAT *V)
 
VECsvd (MAT *A, MAT *U, MAT *V, VEC *d)
 

Variables

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

Macro Definition Documentation

◆ MAX_STACK

#define MAX_STACK   100

Definition at line 43 of file svd.c.

◆ sgn

#define sgn (   x)    ((x) >= 0 ? 1 : -1)

Definition at line 42 of file svd.c.

Function Documentation

◆ bifactor()

MAT* bifactor ( MAT A,
MAT U,
MAT V 
)

Definition at line 293 of file svd.c.

◆ bisvd()

VEC* bisvd ( VEC d,
VEC f,
MAT U,
MAT V 
)

Definition at line 141 of file svd.c.

◆ fixsvd()

static void fixsvd ( VEC d,
MAT U,
MAT V 
)
static

Definition at line 50 of file svd.c.

◆ svd()

VEC* svd ( MAT A,
MAT U,
MAT V,
VEC d 
)

Definition at line 350 of file svd.c.

Variable Documentation

◆ rcsid

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

Definition at line 38 of file svd.c.