MC++
mc::FFDep Class Reference

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.
 
FFDepindep (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.
 
FFDepcombine (const FFDep &S, const bool linear=true)
 Combines with the dependency sets of another variable.
 
FFDepnonlinear ()
 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.
 

Detailed Description

mc::FFDep is a C++ class for evaluating the sparsity pattern of a factorable function


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