FLOPC++
|
Reference counted class for all "constant" types of data. More...
#include <MP_constant.hpp>
Public Member Functions | |
Constant (const MP_index_exp &i) | |
Constant (const DataRef &d) | |
Constant (double d) | |
Constant (int d) | |
Constant (Constant_base *r) | |
![]() | |
const Constant_base * & | operator-> () const |
Handle (const Constant_base * &r) | |
Handle (const Handle &h) | |
const Handle & | operator= (const Handle &h) |
bool | isDefined () |
~Handle () | |
Additional Inherited Members | |
![]() | |
void | increment () |
void | decrement () |
Reference counted class for all "constant" types of data.
Definition at line 49 of file MP_constant.hpp.
flopc::Constant::Constant | ( | const MP_index_exp & | i | ) |
Definition at line 322 of file MP_constant.cpp.
flopc::Constant::Constant | ( | const DataRef & | d | ) |
Definition at line 319 of file MP_constant.cpp.
flopc::Constant::Constant | ( | double | d | ) |
Definition at line 325 of file MP_constant.cpp.
flopc::Constant::Constant | ( | int | d | ) |
Definition at line 328 of file MP_constant.cpp.
|
inline |
Definition at line 57 of file MP_constant.hpp.
References flopc::abs(), flopc::ceil(), flopc::floor(), flopc::maximum(), flopc::minimum(), flopc::mpif(), flopc::operator*(), flopc::operator+(), flopc::operator-(), flopc::operator/(), flopc::pos(), flopc::product(), and flopc::sum().