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 44 of file stieltjes_example5.cpp.
typedef Sacado::PCE::OrthogPoly<double, Stokhos::StandardStorage<int,double> > pce_type |
Definition at line 45 of file stieltjes_example5.cpp.
typedef Teuchos::SerialDenseMatrix<int,pce_type> SDM |
Definition at line 46 of file stieltjes_example5.cpp.
typedef Teuchos::SerialDenseVector<int,pce_type> SDV |
Definition at line 47 of file stieltjes_example5.cpp.
typedef Teuchos::SerialDenseMatrix<int,double> SDM0 |
Definition at line 48 of file stieltjes_example5.cpp.
typedef Teuchos::SerialDenseVector<int,double> SDV0 |
Definition at line 49 of file stieltjes_example5.cpp.
enum MT_METHOD |
Enumerator | |
---|---|
MT_STIELTJES | |
MT_LANCZOS | |
MT_GRAM_SCHMIDT |
Definition at line 52 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 23 of file stieltjes_example5.cpp.
scalar_type g_func | ( | const Teuchos::SerialDenseVector< ordinal_type, scalar_type > & | f | ) |
Definition at line 38 of file stieltjes_example5.cpp.
Definition at line 58 of file stieltjes_example5.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 62 of file stieltjes_example5.cpp.
const int num_mt_method = 3 |
Definition at line 53 of file stieltjes_example5.cpp.
const MT_METHOD mt_method_values[] |
Definition at line 54 of file stieltjes_example5.cpp.
const char* mt_method_names[] = { "Stieltjes", "Lanczos", "Gram-Schmidt" } |
Definition at line 56 of file stieltjes_example5.cpp.