MC++
Structure Detection for Factorable Functions

Functions

 mc::Structure::Structure (const double c=0.)
 Default constructor (needed to declare arrays of Structure class)
 mc::Structure::Structure (const Structure &S)
 Copy constructor.
 mc::Structure::~Structure ()
 Destructor.
Structure & mc::Structure::indep (const int ind)
 Sets as independent with index ind
std::pair< bool, bool > mc::Structure::dep (const int ind)
 Determines if the current object is dependent on the variable of index ind
const t_Structure & mc::Structure::dep () const
 Returns the dependency set.
Structure & mc::Structure::combine (const Structure &S, const bool linear=true)
 Combines with the dependency sets of another variable.
static Structure mc::Structure::combine (const Structure &S1, const Structure &S2, const bool linear=true)
 Combines the dependency sets of two variables.
static Structure mc::Structure::combine (const unsigned int n, const Structure *S, const bool linear=true)
 Combines the dependency sets of multiple variables.
Structure & mc::Structure::nonlinear ()
 Turns current dependent variables into nonlinear.
static Structure mc::Structure::nonlinear (const Structure &S)
 Turns current dependent variables into nonlinear.