API_test.cc File Reference

Test of the matrix library. More...

#include <fstream>
#include <iomanip>
#include <iostream>
#include <cmath>
#include <stdio.h>
#include "SizesAndBlocks.h"
#include "Matrix.h"
#include "Vector.h"
#include "MatrixSymmetric.h"
#include "MatrixTriangular.h"
#include "MatrixGeneral.h"
#include "VectorGeneral.h"
#include "gblas.h"
#include "Lanczos.h"

Classes

class  Sum< Treal >
class  expRule< Treal >

Functions

template<typename Treal>
bool realIsSingle ()
template<>
bool realIsSingle< float > ()
template<class Treal>
static Treal maxdiff (std::vector< Treal > const &f1, std::vector< Treal > const &f2)
template<class Treal>
static Treal maxdiff_tri (const Treal *f1, const Treal *f2, int size)
template<class Treal>
static Treal frobdiff (const Treal *f1, const Treal *f2, int size)
template<class T>
static void fileread (T *ptr, int size, FILE *)
template<>
void fileread< double > (double *ptr, int size, FILE *file)
template<>
void fileread< float > (float *ptr, int size, FILE *file)
template<class T>
void filewrite (T *ptr, int size, FILE *)
template<>
void filewrite< double > (double *ptr, int size, FILE *file)
template<>
void filewrite< float > (float *ptr, int size, FILE *file)
template<typename Treal, typename Tmatrix>
static void testAccumulation (const Tmatrix &syFock, int size, Treal *fockfull)
template<typename Treal>
bool dotIsBroken ()
template<typename real>
int mainFun (int argc, char *argv[])
int main (int argc, char *argv[])


Detailed Description

Test of the matrix library.

Copyright(c) Emanuel Rubensson 2005

Author:
Emanuel Rubensson responsible author
Date:
September 2005

Function Documentation

template<typename Treal>
bool dotIsBroken (  ) 

template<class T>
static void fileread ( T *  ptr,
int  size,
FILE *   
) [static]

template<>
void fileread< double > ( double *  ptr,
int  size,
FILE *  file 
)

template<>
void fileread< float > ( float *  ptr,
int  size,
FILE *  file 
)

template<class T>
static void filewrite ( T *  ptr,
int  size,
FILE *   
)

template<>
void filewrite< double > ( double *  ptr,
int  size,
FILE *  file 
)

template<>
void filewrite< float > ( float *  ptr,
int  size,
FILE *  file 
)

template<class Treal>
static Treal frobdiff ( const Treal *  f1,
const Treal *  f2,
int  size 
) [static]

int main ( int  argc,
char *  argv[] 
)

template<typename real>
int mainFun ( int  argc,
char *  argv[] 
)

template<class Treal>
static Treal maxdiff ( std::vector< Treal > const &  f1,
std::vector< Treal > const &  f2 
) [static]

template<class Treal>
static Treal maxdiff_tri ( const Treal *  f1,
const Treal *  f2,
int  size 
) [static]

template<typename Treal>
bool realIsSingle (  )  [inline]

template<>
bool realIsSingle< float > (  )  [inline]

template<typename Treal, typename Tmatrix>
static void testAccumulation ( const Tmatrix &  syFock,
int  size,
Treal *  fockfull 
) [static]


Generated on Wed Nov 21 09:32:02 2012 for ergo by  doxygen 1.4.7