codac
Public Member Functions | Protected Attributes | List of all members
codac::CtcCartProd Class Reference

Cartesian product of contractors \(\mathcal{C}_1\times\dots\times\mathcal{C}_n\). More...

#include <codac_CtcCartProd.h>

Inherits Ctc.

Public Member Functions

template<typename ... Args>
 CtcCartProd (Args &... args)
 Creates the contractor based on the Cartesian product of other. More...
 
 CtcCartProd (const ibex::Array< Ctc > &array)
 Creates the contractor based on the Cartesian product of other. More...
 
void contract (IntervalVector &x)
 \(\mathcal{C}_{\mathcal{C}_1\times\dots\times\mathcal{C}_n}\big([\mathbf{x}]\big)\) More...
 

Protected Attributes

ibex::Array< Ctc > m_v
 vector containing the contractors
 

Detailed Description

Cartesian product of contractors \(\mathcal{C}_1\times\dots\times\mathcal{C}_n\).

Constructor & Destructor Documentation

◆ CtcCartProd() [1/2]

template<typename ... Args>
codac::CtcCartProd::CtcCartProd ( Args &...  args)
inline

Creates the contractor based on the Cartesian product of other.

Parameters
argslist of contractors
35 : Ctc(ibex::Array<Ctc>({args...})), m_v({args...}) {};
ibex::Array< Ctc > m_v
vector containing the contractors
Definition: codac_CtcCartProd.h:53

◆ CtcCartProd() [2/2]

codac::CtcCartProd::CtcCartProd ( const ibex::Array< Ctc > &  array)
inline

Creates the contractor based on the Cartesian product of other.

Parameters
arrayArray of contractors
42 : Ctc(array), m_v(array) {};
ibex::Array< Ctc > m_v
vector containing the contractors
Definition: codac_CtcCartProd.h:53

Member Function Documentation

◆ contract()

void codac::CtcCartProd::contract ( IntervalVector &  x)

\(\mathcal{C}_{\mathcal{C}_1\times\dots\times\mathcal{C}_n}\big([\mathbf{x}]\big)\)

Parameters
xa m-d box of domains

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