Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <iostream>
#include <iomanip>
#include "Stokhos.hpp"
#include "Stokhos_Sacado.hpp"
#include "Stokhos_ReducedBasisFactory.hpp"
#include "Stokhos_SDMUtils.hpp"
#include "Teuchos_CommandLineProcessor.hpp"
Go to the source code of this file.
Typedefs | |
typedef Stokhos::LegendreBasis < int, double > | basis_type |
typedef Sacado::PCE::OrthogPoly < double, Stokhos::StandardStorage< int, double > > | pce_type |
typedef Teuchos::SerialDenseMatrix < int, pce_type > | SDM |
typedef Teuchos::SerialDenseVector < int, pce_type > | SDV |
typedef Teuchos::SerialDenseMatrix < int, double > | SDM0 |
typedef Teuchos::SerialDenseVector < int, double > | SDV0 |
Enumerations | |
enum | MT_METHOD { MT_STIELTJES, MT_LANCZOS, MT_GRAM_SCHMIDT } |
Functions | |
template<typename ordinal_type , typename scalar_type > | |
void | f_func (const Teuchos::SerialDenseMatrix< ordinal_type, scalar_type > &A, const Teuchos::SerialDenseVector< ordinal_type, scalar_type > &x, double shift, Teuchos::SerialDenseVector< ordinal_type, scalar_type > &f) |
template<typename ordinal_type , typename scalar_type > | |
scalar_type | g_func (const Teuchos::SerialDenseVector< ordinal_type, scalar_type > &f) |
double | rel_err (double a, double b) |
int | main (int argc, char **argv) |
Variables | |
const int | num_mt_method = 3 |
const MT_METHOD | mt_method_values [] |
const char * | mt_method_names [] = { "Stieltjes", "Lanczos", "Gram-Schmidt" } |
typedef Stokhos::LegendreBasis<int,double> basis_type |
Definition at line 78 of file stieltjes_example5.cpp.
Definition at line 79 of file stieltjes_example5.cpp.
typedef Teuchos::SerialDenseMatrix<int,pce_type> SDM |
Definition at line 80 of file stieltjes_example5.cpp.
typedef Teuchos::SerialDenseVector<int,pce_type> SDV |
Definition at line 81 of file stieltjes_example5.cpp.
typedef Teuchos::SerialDenseMatrix<int,double> SDM0 |
Definition at line 82 of file stieltjes_example5.cpp.
typedef Teuchos::SerialDenseVector<int,double> SDV0 |
Definition at line 83 of file stieltjes_example5.cpp.
enum MT_METHOD |
Enumerator | |
---|---|
MT_STIELTJES | |
MT_LANCZOS | |
MT_GRAM_SCHMIDT |
Definition at line 86 of file stieltjes_example5.cpp.
void f_func | ( | const Teuchos::SerialDenseMatrix< ordinal_type, scalar_type > & | A, |
const Teuchos::SerialDenseVector< ordinal_type, scalar_type > & | x, | ||
double | shift, | ||
Teuchos::SerialDenseVector< ordinal_type, scalar_type > & | f | ||
) |
Definition at line 57 of file stieltjes_example5.cpp.
scalar_type g_func | ( | const Teuchos::SerialDenseVector< ordinal_type, scalar_type > & | f | ) |
Definition at line 72 of file stieltjes_example5.cpp.
Definition at line 92 of file stieltjes_example5.cpp.
Definition at line 96 of file stieltjes_example5.cpp.
const int num_mt_method = 3 |
Definition at line 87 of file stieltjes_example5.cpp.
const MT_METHOD mt_method_values[] |
Definition at line 88 of file stieltjes_example5.cpp.
const char* mt_method_names[] = { "Stieltjes", "Lanczos", "Gram-Schmidt" } |
Definition at line 90 of file stieltjes_example5.cpp.