Documentation
¶
Index ¶
- type GoExprtk
- func (obj GoExprtk) AddDoubleVariable(x string)
- func (obj GoExprtk) AddStringVariable(x string)
- func (obj GoExprtk) AddVectorVariable(x string)
- func (obj GoExprtk) CompileExpression() error
- func (obj GoExprtk) Delete()
- func (obj GoExprtk) GetEvaluatedValue() float64
- func (obj GoExprtk) SetDoubleVariableValue(varName string, val float64)
- func (obj GoExprtk) SetExpression(expr string)
- func (obj GoExprtk) SetStringVariableValue(varName string, val string)
- func (obj GoExprtk) SetVectorVariableValue(varName string, val []float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoExprtk ¶
type GoExprtk struct {
// contains filtered or unexported fields
}
GoExprtk ...Exprtk Structure
func (GoExprtk) AddDoubleVariable ¶
AddDoubleVariable ... Adds variable to the expression
func (GoExprtk) AddStringVariable ¶
AddStringVariable ... Adds variable to the expression
func (GoExprtk) AddVectorVariable ¶
AddVectorVariable ... Adds variable to the expression
func (GoExprtk) CompileExpression ¶
CompileExpression ... Compiles the Expression
func (GoExprtk) Delete ¶ added in v1.0.1
func (obj GoExprtk) Delete()
Delete ... Destroys the created object and releases the memory
func (GoExprtk) GetEvaluatedValue ¶
GetEvaluatedValue ... Returns the evaluated value
func (GoExprtk) SetDoubleVariableValue ¶
SetDoubleVariableValue ... Sets value to the variable
func (GoExprtk) SetExpression ¶
SetExpression ... Sets an Expression
func (GoExprtk) SetStringVariableValue ¶
SetStringVariableValue ... Sets value to the variable
func (GoExprtk) SetVectorVariableValue ¶
SetVectorVariableValue ... Sets value to the variable
Click to show internal directories.
Click to hide internal directories.