example/hilbert/cxx_main.cpp File Reference

#include "Teuchos_CommandLineProcessor.hpp"
#include "Teuchos_ConfigDefs.hpp"
#include "Teuchos_BLAS.hpp"
#include "Teuchos_Version.hpp"
#include <typeinfo>
Include dependency graph for example/hilbert/cxx_main.cpp:

Go to the source code of this file.

Defines

#define SType1   double
#define SType2   double
#define OType   int

Functions

template<typename TYPE >
void ConstructHilbertMatrix (TYPE *, int)
template<typename TYPE >
void ConstructHilbertSumVector (TYPE *, int)
template<typename TYPE1 , typename TYPE2 >
void ConvertHilbertMatrix (TYPE1 *, TYPE2 *, int)
template<typename TYPE1 , typename TYPE2 >
void ConvertHilbertSumVector (TYPE1 *, TYPE2 *, int)
template<typename TYPE >
int Cholesky (TYPE *, int)
template<typename TYPE >
int Solve (int, TYPE *, TYPE *, TYPE *)
template<typename TYPE >
void PrintArrayAsVector (TYPE *, int)
template<typename TYPE >
void PrintArrayAsMatrix (TYPE *, int, int)
int main (int argc, char *argv[])

Define Documentation

#define SType1   double

Definition at line 84 of file example/hilbert/cxx_main.cpp.

#define SType2   double

Definition at line 86 of file example/hilbert/cxx_main.cpp.

#define OType   int

Definition at line 87 of file example/hilbert/cxx_main.cpp.


Function Documentation

template<typename TYPE >
void ConstructHilbertMatrix ( TYPE *  A,
int  n 
) [inline]

Definition at line 314 of file example/hilbert/cxx_main.cpp.

template<typename TYPE >
void ConstructHilbertSumVector ( TYPE *  x,
int  n 
) [inline]

Definition at line 324 of file example/hilbert/cxx_main.cpp.

template<typename TYPE1 , typename TYPE2 >
void ConvertHilbertMatrix ( TYPE1 *  A,
TYPE2 *  B,
int  n 
) [inline]

Definition at line 336 of file example/hilbert/cxx_main.cpp.

template<typename TYPE1 , typename TYPE2 >
void ConvertHilbertSumVector ( TYPE1 *  x,
TYPE2 *  y,
int  n 
) [inline]

Definition at line 345 of file example/hilbert/cxx_main.cpp.

template<typename TYPE >
int Cholesky ( TYPE *  A,
int  n 
) [inline]

Definition at line 388 of file example/hilbert/cxx_main.cpp.

template<typename TYPE >
int Solve ( int  n,
TYPE *  H,
TYPE *  b,
TYPE *  err 
) [inline]

Definition at line 409 of file example/hilbert/cxx_main.cpp.

template<typename TYPE >
void PrintArrayAsVector ( TYPE *  x,
int  n 
) [inline]

Definition at line 430 of file example/hilbert/cxx_main.cpp.

template<typename TYPE >
void PrintArrayAsMatrix ( TYPE *  a,
int  m,
int  n 
) [inline]

Definition at line 439 of file example/hilbert/cxx_main.cpp.

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

Definition at line 137 of file example/hilbert/cxx_main.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Oct 20 10:14:01 2009 for Teuchos Package Browser (Single Doxygen Collection) by  doxygen 1.6.1