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

Go to the source code of this file.

Functions

VECtrieig (VEC *, VEC *, MAT *)
 
void lanczos (VEC *(*A_fn)(), void *A_params, int m, VEC *x0, VEC *a, VEC *b, Real *beta2, MAT *Q)
 
double frexp ()
 
double ldexp ()
 
static double product (VEC *a, double offset, int *expt)
 
static double product2 (VEC *a, int k, int *expt)
 
static int dbl_cmp (Real *x, Real *y)
 
VEClanczos2 (VEC *(*A_fn)(), void *A_params, int m, VEC *x0, VEC *evals, VEC *err_est)
 
void sp_lanczos (SPMAT *A, int m, VEC *x0, VEC *a, VEC *b, Real *beta2, MAT *Q)
 
VECsp_lanczos2 (SPMAT *A, int m, VEC *x0, VEC *evals, VEC *err_est)
 

Variables

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

Function Documentation

◆ dbl_cmp()

static int dbl_cmp ( Real x,
Real y 
)
static

Definition at line 201 of file lanczos.c.

◆ frexp()

double frexp ( )

◆ lanczos()

void lanczos ( VEC *(*)()  A_fn,
void A_params,
int  m,
VEC x0,
VEC a,
VEC b,
Real beta2,
MAT Q 
)

Definition at line 50 of file lanczos.c.

◆ lanczos2()

VEC* lanczos2 ( VEC *(*)()  A_fn,
void A_params,
int  m,
VEC x0,
VEC evals,
VEC err_est 
)

Definition at line 214 of file lanczos.c.

◆ ldexp()

double ldexp ( )

◆ product()

static double product ( VEC a,
double  offset,
int expt 
)
static

Definition at line 117 of file lanczos.c.

◆ product2()

static double product2 ( VEC a,
int  k,
int expt 
)
static

Definition at line 164 of file lanczos.c.

◆ sp_lanczos()

void sp_lanczos ( SPMAT A,
int  m,
VEC x0,
VEC a,
VEC b,
Real beta2,
MAT Q 
)

Definition at line 307 of file lanczos.c.

◆ sp_lanczos2()

VEC* sp_lanczos2 ( SPMAT A,
int  m,
VEC x0,
VEC evals,
VEC err_est 
)

Definition at line 317 of file lanczos.c.

◆ trieig()

VEC* trieig ( VEC ,
VEC ,
MAT  
)

Definition at line 49 of file symmeig.c.

Variable Documentation

◆ rcsid

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

Definition at line 38 of file lanczos.c.