MC++
|
C++ class for evaluation of the sparsity pattern of a factorable function. More...
#include <ffdep.hpp>
Classes | |
class | Exceptions |
Exceptions of mc::FFDep. More... | |
Public Member Functions | |
FFDep (const double c=0.) | |
Default constructor (needed to declare arrays of FFDep class) | |
FFDep (const FFDep &S) | |
Copy constructor. | |
~FFDep () | |
Destructor. | |
FFDep & | indep (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_FFDep & | dep () const |
Returns the dependency set. | |
FFDep & | combine (const FFDep &S, const bool linear=true) |
Combines with the dependency sets of another variable. | |
FFDep & | nonlinear () |
Turns current dependent variables into nonlinear. | |
Static Public Member Functions | |
static FFDep | combine (const FFDep &S1, const FFDep &S2, const bool linear=true) |
Combines the dependency sets of two variables. | |
static FFDep | nonlinear (const FFDep &S) |
Turns current dependent variables into nonlinear. | |
mc::FFDep is a C++ class for evaluating the sparsity pattern of a factorable function