Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Defines | Functions
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 97 of file example/hilbert/cxx_main.cpp.

#define SType2   double

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

#define OType   int

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


Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines