10 #ifndef STOKHOS_SPD_DENSE_DIRECT_DIVISION_EXPANSION_STRATEGY_HPP 
   11 #define STOKHOS_SPD_DENSE_DIRECT_DIVISION_EXPANSION_STRATEGY_HPP 
   28   template <
typename ordinal_type, 
typename value_type, 
typename node_type> 
 
   82 template <
typename ordinal_type, 
typename value_type, 
typename node_type> 
 
  100 template <
typename ordinal_type, 
typename value_type, 
typename node_type> 
 
  109 #ifdef STOKHOS_TEUCHOS_TIME_MONITOR 
  133     if (pb < Cijk->num_k())
 
  134       k_end = Cijk->find_k(pb);
 
  140      j_it != Cijk->j_end(k_it); ++j_it) {
 
  143        i_it != Cijk->i_end(j_it); ++i_it) {
 
  146     (*A)(i,
j) += cijk*cb[k];
 
  155       (*
B)(i,0) = ca[i]*basis->norm_squared(i);
 
  159     solver.setVectors(X, 
B);
 
  160     if (solver.shouldEquilibrate()) {
 
  161       solver.factorWithEquilibration(
true);
 
  162       solver.equilibrateMatrix();
 
  174       cc[i] = alpha*(*X)(i,0) + beta*cc[i];
 
  178       cc[i] = alpha*ca[i]/cb[0] + beta*cc[i];
 
  182 #endif // STOKHOS_DIVISION_EXPANSION_STRATEGY_HPP 
SPDDenseDirectDivisionExpansionStrategy & operator=(const SPDDenseDirectDivisionExpansionStrategy &b)
 
#define TEUCHOS_FUNC_TIME_MONITOR(FUNCNAME)
 
virtual void divide(Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &c, const value_type &alpha, const Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &a, const Stokhos::OrthogPolyApprox< ordinal_type, value_type, node_type > &b, const value_type &beta)
 
void resize(ordinal_type sz)
Resize coefficient array (coefficients are preserved) 
 
Data structure storing a sparse 3-tensor C(i,j,k) in a a compressed format. 
 
Teuchos::RCP< Teuchos::SerialSymDenseMatrix< ordinal_type, value_type > > A
Dense matrices for linear system. 
 
pointer coeff()
Return coefficient array. 
 
Stokhos::Sparse3Tensor< ordinal_type, value_type > Cijk_type
Short-hand for Cijk. 
 
Bi-directional iterator for traversing a sparse array. 
 
Abstract base class for multivariate orthogonal polynomials. 
 
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
 
SPDDenseDirectDivisionExpansionStrategy(const Teuchos::RCP< const Stokhos::OrthogPolyBasis< ordinal_type, value_type > > &basis_, const Teuchos::RCP< const Stokhos::Sparse3Tensor< ordinal_type, value_type > > &Cijk_)
Constructor. 
 
Strategy interface for computing PCE of a/b. 
 
Teuchos::SerialSpdDenseSolver< ordinal_type, value_type > solver
Serial dense solver. 
 
Teuchos::RCP< Teuchos::SerialDenseMatrix< ordinal_type, value_type > > X
 
KOKKOS_INLINE_FUNCTION constexpr std::enable_if< is_view_uq_pce< view_type >::value, typename CijkType< view_type >::type >::type cijk(const view_type &view)
 
Teuchos::RCP< const Cijk_type > Cijk
Triple product. 
 
Class to store coefficients of a projection onto an orthogonal polynomial basis. 
 
virtual ~SPDDenseDirectDivisionExpansionStrategy()
Destructor. 
 
Teuchos::RCP< Teuchos::SerialDenseMatrix< ordinal_type, value_type > > B
 
ordinal_type size() const 
Return size. 
 
Strategy interface for computing PCE of a/b using only b[0]. 
 
Teuchos::RCP< const Stokhos::OrthogPolyBasis< ordinal_type, value_type > > basis
Basis.