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);
void initialize(const Stokhos::OrthogPolyBasis< int, double > &max_basis, const Stokhos::Sparse3Tensor< int, double > &Cijk, int porder=-1)
Setup the lookup graph.
std::vector< std::vector< std::size_t > > vecLookup_
bool operator()(std::size_t i, std::size_t j) const
Is there an entry for (i,j) in the graph.
void printGraph(std::ostream &os) const
const std::vector< std::size_t > & activeIndices(std::size_t i) const
Grab active indicies in graph for row i.
std::size_t numNonZeros() const
How many non zeros are in this graph.
std::size_t rowCount() const
What is the number of rows.
std::size_t colCount() const
What is the number of columns.
Abstract base class for multivariate orthogonal polynomials.
Abstract base class for multivariate orthogonal polynomials generated from tensor products of univari...
Data structure storing a sparse 3-tensor C(i,j,k) in a a compressed format.
Top-level namespace for Stokhos classes and functions.