Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Constants = map[string]object.Object{ "PI": &object.Float{Value: math.Pi}, "e": &object.Float{Value: math.E}, "phi": &object.Float{Value: (1 + math.Sqrt(5)) / 2}, "ln10": &object.Float{Value: math.Log10E}, "ln2": &object.Float{Value: math.Ln2}, "log10e": &object.Float{Value: math.Log10E}, "log2e": &object.Float{Value: math.Log2E}, "sqrt1_2": &object.Float{Value: 1 / math.Sqrt2}, "sqrt2": &object.Float{Value: math.Sqrt2}, "sqrt3": &object.Float{Value: math.Sqrt(3)}, "sqrt5": &object.Float{Value: math.Sqrt(5)}, "EPSILON": &object.Float{Value: 2.220446049250313e-16}, }
View Source
var JsonFunctions = map[string]object.ModuleFunction{}
View Source
var Mapper = map[string]*object.Module{}
View Source
var MathFunctions = map[string]object.ModuleFunction{
"PI": pi,
"e": e,
"phi": phi,
"ln10": ln10,
"ln2": ln2,
"log10e": log10e,
"log2e": log2e,
"log2": log2,
"sqrt1_2": sqrt1_2,
"sqrt2": sqrt2,
"sqrt3": sqrt3,
"sqrt5": sqrt5,
"EPSILON": epsilon,
"abs": abs,
"sign": sign,
"ceil": ceil,
"floor": floor,
"sqrt": sqrt,
"cbrt": cbrt,
"root": root,
"hypot": hypot,
"factorial": factorial,
"round": round,
"max": max,
"min": min,
"exp": exp,
"expm1": expm1,
"log": log,
"log10": log10,
"log1p": log1p,
"cos": cos,
"sin": sin,
"tan": tan,
"acos": acos,
"asin": asin,
"atan": atan,
"cosh": cosh,
"sinh": sinh,
"tanh": tanh,
"acosh": acosh,
"asinh": asinh,
"atanh": atanh,
"atan2": atan2,
}
View Source
var NetFunctions = map[string]object.ModuleFunction{}
View Source
var OsFunctions = map[string]object.ModuleFunction{}
View Source
var TimeFunctions = map[string]object.ModuleFunction{}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.