44 #ifndef STOKHOS_BASIS_INTERACTION_GRAPH_HPP 45 #define STOKHOS_BASIS_INTERACTION_GRAPH_HPP 49 #include "Teuchos_RCP.hpp" 66 bool onlyUseLinear=
false,
int porder=-1);
114 #endif // STOKHOS_BASIS_INTERACTION_GRAPH_HPP
std::size_t numNonZeros() const
How many non zeros are in this graph.
void initialize(const Stokhos::OrthogPolyBasis< int, double > &max_basis, const Stokhos::Sparse3Tensor< int, double > &Cijk, int porder=-1)
Setup the lookup graph.
std::size_t colCount() const
What is the number of columns.
Top-level namespace for Stokhos classes and functions.
bool operator()(std::size_t i, std::size_t j) const
Is there an entry for (i,j) in the graph.
std::size_t rowCount() const
What is the number of rows.
Abstract base class for multivariate orthogonal polynomials generated from tensor products of univari...
const std::vector< std::size_t > & activeIndices(std::size_t i) const
Grab active indicies in graph for row i.
std::vector< std::vector< std::size_t > > vecLookup_
void printGraph(std::ostream &os) const