Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Macros | Functions
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

◆ SType1

#define SType1   double

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

◆ SType2

#define SType2   double

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

◆ OType

#define OType   int

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

Function Documentation

◆ ConstructHilbertMatrix()

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

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

◆ ConstructHilbertSumVector()

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

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

◆ ConvertHilbertMatrix()

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

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

◆ ConvertHilbertSumVector()

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

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

◆ Cholesky()

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

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

◆ Solve()

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

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

◆ PrintArrayAsVector()

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

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

◆ PrintArrayAsMatrix()

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

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

◆ main()

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

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