Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
numerics/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 numerics/example/hilbert/cxx_main.cpp:

Go to the source code of this file.

Macros

#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[])
 

Macro Definition Documentation

#define SType1   double

Definition at line 65 of file numerics/example/hilbert/cxx_main.cpp.

#define SType2   double

Definition at line 67 of file numerics/example/hilbert/cxx_main.cpp.

#define OType   int

Definition at line 68 of file numerics/example/hilbert/cxx_main.cpp.

Function Documentation

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

Definition at line 295 of file numerics/example/hilbert/cxx_main.cpp.

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

Definition at line 305 of file numerics/example/hilbert/cxx_main.cpp.

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

Definition at line 317 of file numerics/example/hilbert/cxx_main.cpp.

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

Definition at line 326 of file numerics/example/hilbert/cxx_main.cpp.

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

Definition at line 369 of file numerics/example/hilbert/cxx_main.cpp.

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

Definition at line 390 of file numerics/example/hilbert/cxx_main.cpp.

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

Definition at line 411 of file numerics/example/hilbert/cxx_main.cpp.

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

Definition at line 420 of file numerics/example/hilbert/cxx_main.cpp.

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

Definition at line 118 of file numerics/example/hilbert/cxx_main.cpp.