44 #ifndef STOKHOS_MEAN_BASED_DIVISION_EXPANSION_STRATEGY_HPP
45 #define STOKHOS_MEAN_BASED_DIVISION_EXPANSION_STRATEGY_HPP
56 template <
typename ordinal_type,
typename value_type,
typename node_type>
89 template <
typename ordinal_type,
typename value_type,
typename node_type>
98 #ifdef STOKHOS_TEUCHOS_TIME_MONITOR
110 cc[i] = alpha*ca[i]/cb[0] + beta*cc[i];
113 #endif // STOKHOS_MEAN_BASED_DIVISION_EXPANSION_STRATEGY_HPP
#define TEUCHOS_FUNC_TIME_MONITOR(FUNCNAME)
MeanBasedDivisionExpansionStrategy()
Constructor.
void resize(ordinal_type sz)
Resize coefficient array (coefficients are preserved)
MeanBasedDivisionExpansionStrategy & operator=(const MeanBasedDivisionExpansionStrategy &b)
pointer coeff()
Return coefficient array.
Strategy interface for computing PCE of a/b.
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)
Class to store coefficients of a projection onto an orthogonal polynomial basis.
ordinal_type size() const
Return size.
Strategy interface for computing PCE of a/b using only b[0].
virtual ~MeanBasedDivisionExpansionStrategy()
Destructor.