Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

halinalg.h File Reference

#include "haio.h"
#include "hastring.h"
#include "const.h"
#include "vec.h"
#include "fmat.h"
#include "f2c.h"
#include "cg_sngl.h"

Go to the source code of this file.

Classes

class  HaVec_double
 class for a numerical array of doubles More...

class  HaMat_double
 class for two-dimensional matrix of doubles More...

class  MultiVarFunctor
 Abstract class for function of multiple variables - use as parent class to use with minimizers. More...

class  HaMinimizer
 Class to minimize a function of multiple variables. More...

class  LanzPars

Typedefs

typedef NumVector< float > HaVec_float
 Numerical vector of float.

typedef NumVector< int > HaVec_int
 Numerical vector of int.

typedef NumVector< short > HaVec_short
 Numerical vector of short.

typedef NumVector< integer > HaVec_integer
 Numerical vector of FORTRAN integer.

typedef NumVector< void * > HaVec_ptr
 Numerical vector of generic pointers (void*).

typedef Fortran_matrix< float > HaMat_float
typedef Fortran_matrix< int > HaMat_int
typedef Fortran_matrix< integer > HaMat_integer
typedef map< HaString, HaVec_double,
less< HaString > > 
StrVecMap
typedef void(* ptrMinFunc1 )(integer *iptr, integer *n, double *x, double *f, double *g)

Functions

void va13ad_ (integer *iptr, ptrMinFunc1 pfunc, integer *n, double *x, double *f,double *g, double *scale, double *acc, double *w)
Subscript ij_indx0 (Subscript i, Subscript j)
Subscript ij_indx1 (Subscript i, Subscript j)
int write_dbl_array_chuncks (FILE *fp, HaVec_double &dvec, int chunck_size, const char *form_str)
int write_float_array_chuncks (FILE *fp, HaVec_float &fvec, int chunck_size, const char *form_str)
int write_int_array_chuncks (FILE *fp, HaVec_int &ivec, int chunck_size, const char *form_str)
int rot_vec (double a[], double n[], double cosa, double sina)
 rotate vector a around unit vector n by angle defined cosa and sina

void lanz_ (integer *ldi, integer *inpari, double *inparr, double *otheta, double *oldbj, double *y, integer *onumt, double *kaux, integer *krp, integer *kcp, double *maux, integer *mrp, integer *mcp, double *r1j)
void dgesv_ (integer *n, integer *nrhs, double *a, integer *lda, integer *ipiv, double *b, integer *ldb, integer *info)

Variables

const int BFGS_MIN_METH = 0


Detailed Description

Classes to define Linear Algebra Objects like Vector, Matrix, Sparse matrix etc.

Author:
Igor Kurnikov
Date:
1999-2002

Function Documentation

void lanz_ integer *  ldi,
integer *  inpari,
double *  inparr,
double *  otheta,
double *  oldbj,
double *  y,
integer *  onumt,
double *  kaux,
integer *  krp,
integer *  kcp,
double *  maux,
integer *  mrp,
integer *  mcp,
double *  r1j
 

Parameters:
ldi  THE LEADING INDEX OF Y
inparr  parameters of the run see above
otheta  OLDTHETA(*) IS AN ARRAY OF CONVERGED EIGENVALUES
oldbj  OLDBJ(*) IS AN ARRAY OF ERROR BOUNDS ON CONVERGED EIGENVALUES
y  Y(LDI,*) IS THE ARRAY OF EIGENVECTORS USED IN A LANCZOS RUN
onumt  ONUMT(*) IS A WORK VECTOR FOR MSHIFT
kaux  KAUX(*) IS THE STIFFNESS MATRIX
krp  KRP(*) IS AN AUXILARY INTEGER VECTOR USED WHEN USING KAUX
kcp  KCP(*) IS AN AUXILARY INTEGER VECTOR USED WHEN USING KAUX
maux  MAUX IS THE MASS MATRIX
mrp  MRP IS AN AUXILARY INTEGER VECTOR USED WHEN USING MAUX
mcp  MCP IS AN AUXILARY INTEGER VECTOR USED WHEN USING MAUX
r1j  INITIAL GUESS VECTOR


Generated on Tue Feb 17 02:03:10 2004 for harlem by doxygen 1.3.6