MC++
mc::Structure Class Reference

C++ class for evaluation of the sparsity pattern of a factorable function. More...

#include <structure.h>

List of all members.

Classes

class  Exceptions
 Structure exceptions. More...

Public Member Functions

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

Static Public Member Functions

static Structure combine (const Structure &S1, const Structure &S2, const bool linear=true)
 Combines the dependency sets of two variables.
static Structure combine (const unsigned int n, const Structure *S, const bool linear=true)
 Combines the dependency sets of multiple variables.
static Structure nonlinear (const Structure &S)
 Turns current dependent variables into nonlinear.
static Structure combine (const Structure &S1, const Structure &S2, const bool linear=true)
 Combines the dependency sets of two variables.
static Structure combine (const unsigned int n, const Structure *S, const bool linear=true)
 Combines the dependency sets of multiple variables.
static Structure nonlinear (const Structure &S)
 Turns current dependent variables into nonlinear.

Detailed Description

Interval is a C++ class for evaluating the sparsity pattern of a factorable function


The documentation for this class was generated from the following files: