|
Minsky: 3.17.0
|


Public Member Functions | |
| SpecialConst (const string &name, const string &init) | |
Public Member Functions inherited from minsky::VariableValue | |
| bool | lhs () const |
| variable has an input port More... | |
| bool | temp () const |
| variable is a temporary More... | |
| bool | isFlowVar () const |
| returns true if variable's data is allocated on the flowVariables vector More... | |
| bool | isZero () const |
| VariableType::Type | type () const |
| value at the ith location of the vector/tensor. Default, (i=0) is right for scalar quantities More... | |
| double | valueAt (size_t i) const |
| double | value () const |
| set the value at the ith location More... | |
| double | setValue (size_t i, double x) |
| double | setValue (double x) |
| int | idx () const |
| void | reset_idx () |
| double | operator[] (std::size_t i) const override |
| double & | operator[] (std::size_t i) override |
| const Index & | index (Index &&i) override |
| template<class T > | |
| void | hypercube_ (T x) |
| bool | idxInRange () const |
| const Hypercube & | hypercube () const override |
| const Hypercube & | hypercube (const Hypercube &hc) override |
| const Hypercube & | hypercube (Hypercube &&hc) override |
| VariableValue (VariableType::Type type=VariableType::undefined, const std::string &name="", const GroupPtr &group=GroupPtr()) | |
| VariableValue (VariableType::Type type, const VariableValue &vv) | |
| VariableValue (const VariableValue &)=delete | |
| void | operator= (const VariableValue &)=delete |
| VariableValue & | operator= (TensorVal const &) |
| VariableValue & | operator= (const ITensor &x) override |
| VariableValue & | allocValue () |
| allocate space in the variable vector. More... | |
| std::string | valueId () const |
| void | exportAsCSV (const std::string &filename, const std::string &comment="", bool tabular=false) const |
| export this to a CSV file. If comment is non-empty, it is written as the first line of the file. If tabular is false, there is one data point per line, if true, the the longest dimension is written as a series on the line. More... | |
| Summary | summary () const |
| const std::string & | init () const |
| const std::string & | init (const std::string &x) |
| void | sliderSet (double x) |
| sets variable value (or init value) More... | |
| void | incrSlider (double step) |
| increment slider by step More... | |
| void | adjustSliderBounds () |
| adjust slider bounds to encompass the current value More... | |
Public Member Functions inherited from minsky::VariableValueData | |
| void | setUnits (const std::string &x) |
Public Member Functions inherited from minsky::Slider | |
| double | maxSliderSteps () const |
| ensure there are at most 10000 steps between sliderMin and Max. see ticket 1255. More... | |
Additional Inherited Members | |
Public Types inherited from minsky::VariableType | |
| enum | Type { undefined, constant, parameter, flow, integral, stock, tempFlow, numVarTypes } |
Static Public Member Functions inherited from minsky::VariableType | |
| static std::string | typeName (int t) |
Public Attributes inherited from minsky::VariableValueData | |
| TensorVal | tensorInit |
| when init is a tensor of values, this overrides the init string More... | |
| TensorPtr | rhs |
| when the RHS is attached to a tensor expression, this is a reference to it More... | |
| Units | units |
| dimension units of this value More... | |
| bool | unitsCached =false |
| std::string | detailedText |
| long and short descriptions - common to all variables of a given name More... | |
| std::string | tooltip |
| bool | godleyOverridden =false |
| std::string | name |
| classdesc::Exclude< std::weak_ptr< Group > > | m_scope |
| CSVDialog | csvDialog |
| for importing CSV files More... | |
Public Attributes inherited from minsky::Slider | |
| bool | sliderStepRel =false |
| double | sliderMin =std::numeric_limits<double>::max() |
| double | sliderMax =-sliderMin |
| double | sliderStep =0 |
| bool | enableSlider =true |
Protected Attributes inherited from minsky::VariableValue | |
| std::string | m_init |
| the initial value of this variable More... | |
Definition at line 72 of file variableValue.cc.
|
inline |
Definition at line 75 of file variableValue.cc.