*** empty log message ***

This commit is contained in:
jiri
2004-03-17 03:07:21 +00:00
commit d7b55e9846
18 changed files with 5955 additions and 0 deletions

15
sparsemat_traits.h Normal file
View File

@@ -0,0 +1,15 @@
////////////////////////////////////////////////////////////////////////////
//traits classes
#ifndef _SPARSEMAT_TRAITS_INCL
#define _SPARSEMAT_TRAITS_INCL
template<> struct NRMat_traits<SparseMat<double> > {
typedef double elementtype;
typedef SparseMat<double> producttype;
static double norm (const SparseMat<double> &x) {return x.norm();}
static void axpy (SparseMat<double>&s, const SparseMat<double> &x, const double c) {s.axpy(c,x);}
};
#endif