Documentation ¶
Index ¶
- func Abs(a *context.Value) (*context.Value, error)
- func Acos(a *context.Value) (*context.Value, error)
- func Acosh(a *context.Value) (*context.Value, error)
- func Add(a *context.Value, b *context.Value) (*context.Value, error)
- func AndHandler(m *context.Context, n *context.Node) error
- func Asin(a *context.Value) (*context.Value, error)
- func Asinh(a *context.Value) (*context.Value, error)
- func Atan(a *context.Value) (*context.Value, error)
- func Atanh(a *context.Value) (*context.Value, error)
- func BetweenHandler(m *context.Context, n *context.Node) error
- func Cbrt(a *context.Value) (*context.Value, error)
- func Ceil(a *context.Value) (*context.Value, error)
- func Conj(a *context.Value) (*context.Value, error)
- func Cos(a *context.Value) (*context.Value, error)
- func Cosh(a *context.Value) (*context.Value, error)
- func Cot(a *context.Value) (*context.Value, error)
- func Div(a *context.Value, b *context.Value) (*context.Value, error)
- func DoUntilHandler(m *context.Context, n *context.Node) error
- func DoWhileHandler(m *context.Context, n *context.Node) error
- func Equal(a *context.Value, b *context.Value) (*context.Value, error)
- func Erf(a *context.Value) (*context.Value, error)
- func Erfc(a *context.Value) (*context.Value, error)
- func Erfcinv(a *context.Value) (*context.Value, error)
- func Erfinv(a *context.Value) (*context.Value, error)
- func Exp(a *context.Value) (*context.Value, error)
- func Exp2(a *context.Value) (*context.Value, error)
- func Expm1(a *context.Value) (*context.Value, error)
- func FalseHandler(m *context.Context, n *context.Node) error
- func Floor(a *context.Value) (*context.Value, error)
- func ForHandler(m *context.Context, n *context.Node) error
- func Gamma(a *context.Value) (*context.Value, error)
- func GetVarHandler(m *context.Context, n *context.Node) error
- func GreaterThan(a *context.Value, b *context.Value) (*context.Value, error)
- func GreaterThanEqual(a *context.Value, b *context.Value) (*context.Value, error)
- func IfHandler(m *context.Context, n *context.Node) error
- func Ilogb(a *context.Value) (*context.Value, error)
- func Imag(a *context.Value) (*context.Value, error)
- func InvokeAllHandler(m *context.Context, n *context.Node) error
- func InvokeScopeHandler(m *context.Context, n *context.Node) error
- func IsNaN(a *context.Value) (*context.Value, error)
- func J0(a *context.Value) (*context.Value, error)
- func J1(a *context.Value) (*context.Value, error)
- func LessThan(a *context.Value, b *context.Value) (*context.Value, error)
- func LessThanEqual(a *context.Value, b *context.Value) (*context.Value, error)
- func Log(a *context.Value) (*context.Value, error)
- func Log10(a *context.Value) (*context.Value, error)
- func Log1p(a *context.Value) (*context.Value, error)
- func Log2(a *context.Value) (*context.Value, error)
- func Logb(a *context.Value) (*context.Value, error)
- func Mult(a *context.Value, b *context.Value) (*context.Value, error)
- func Neg(a *context.Value) (*context.Value, error)
- func NegHandler(m *context.Context, n *context.Node) error
- func NotEqual(a *context.Value, b *context.Value) (*context.Value, error)
- func NotHandler(m *context.Context, n *context.Node) error
- func NullHandler(m *context.Context, n *context.Node) error
- func OrHandler(m *context.Context, n *context.Node) error
- func Phase(a *context.Value) (*context.Value, error)
- func Pow10(a *context.Value) (*context.Value, error)
- func Real(a *context.Value) (*context.Value, error)
- func RealComplex1(rf func(float64) float64, cf func(complex128) complex128, a *context.Value) (*context.Value, error)
- func Round(a *context.Value) (*context.Value, error)
- func Round2even(a *context.Value) (*context.Value, error)
- func SetVarHandler(m *context.Context, n *context.Node) error
- func Sin(a *context.Value) (*context.Value, error)
- func Sinh(a *context.Value) (*context.Value, error)
- func Sqrt(a *context.Value) (*context.Value, error)
- func Sub(a *context.Value, b *context.Value) (*context.Value, error)
- func Tan(a *context.Value) (*context.Value, error)
- func Tanh(a *context.Value) (*context.Value, error)
- func ToImaginary(a *context.Value) (*context.Value, error)
- func TrueHandler(m *context.Context, n *context.Node) error
- func Trunc(a *context.Value) (*context.Value, error)
- func UntilHandler(m *context.Context, n *context.Node) error
- func WhileHandler(m *context.Context, n *context.Node) error
- func Y0(a *context.Value) (*context.Value, error)
- func Y1(a *context.Value) (*context.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Addition of 2 values. If one value is a float then the result will be a float. If an Integer then the result will be an integer. For booleans then it's integer equivalent is used. Strings will be concatenated.
func BetweenHandler ¶
a between b and c
func Div ¶
Division of two values. If one value is a float then the result will be a float. If an Integer then the result will be an integer. For booleans then it's integer equivalent is used. An error will be returned is a divide-by-zero would occur.
func Expm1 ¶
Expm1 returns e**x - 1, the base-e exponential of x minus 1. It is more accurate than Exp(x) - 1 when x is near zero.
func GetVarHandler ¶
Get a variable. If the variable does not exist then an error is returned.
func GreaterThan ¶
a > b
func GreaterThanEqual ¶
a >= b
func InvokeAllHandler ¶
InvokeAllHandler Invokes all nodes within the supplied list
func InvokeScopeHandler ¶
InvokeScopeHandler calls invokeAllHandler with a variable scope that lasts for the duration of the call
func LessThanEqual ¶
a <= b
func Log1p ¶
Log1p returns the natural logarithm of 1 plus its argument x. It is more accurate than Log(1 + x) when x is near zero.
func Mult ¶
Multiplication of two values. If one value is a float then the result will be a float. If an Integer then the result will be an integer. For booleans then it's integer equivalent is used.
func NegHandler ¶
NegHandler negates a value
func RealComplex1 ¶
func RealComplex1(rf func(float64) float64, cf func(complex128) complex128, a *context.Value) (*context.Value, error)
RealComplex1 invokes a function based on the value type. If a is numeric then rf will be used. If a is complex then cf will be used. An error will be returned if the value is not numeric or complex
func Round2even ¶
RoundToEven returns the nearest integer, rounding ties to even.
func Sub ¶
Subtraction of two values If one value is a float then the result will be a float. If an Integer then the result will be an integer. For booleans then it's integer equivalent is used.
func ToImaginary ¶
ToImaginary converts a value into a complex number using the value as the imaginary component.
Types ¶
This section is empty.