Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Const ¶
type Const interface { // Type will return the type of the constant Type() Type // Matrix will return a matrix if the type is matrix, else will panic Matrix() m.Matrix // Vector will return a vector if the type is vector, else will panic Vector() v.Vector // Value will return a value if the type is value, else will panic Value() gcv.Value }
Const is the GoCalculate constant type
type Var ¶
type Var interface { // Eval will take a variable and return a constant. // the variable type, either type value, vector, matrix or const // must match the passed in variable type, else Eval will panic Eval(x interface{}) (Const, error) // MustEval is the same as Eval but will panic MustEval(x interface{}) Const }
Var is the GoCalculate variable type
Click to show internal directories.
Click to hide internal directories.