ops

package
v0.0.0-...-0a688d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2017 License: MIT Imports: 4 Imported by: 0

README

Folder for housing GoCalculate Value operations

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(value gcv.Value) gcv.Value

Abs returns the absolute value of a gcv Value

func Acos

func Acos(value gcv.Value) gcv.Value

Acos returns the arccosine of a gcv Value

func Acosh

func Acosh(value gcv.Value) gcv.Value

Acosh returns the inverseHyperbolicCosine of a gcv Value

func Add

func Add(valueA gcv.Value, valueB gcv.Value) gcv.Value

Add will add two gcv Values together

func Asin

func Asin(value gcv.Value) gcv.Value

Asin returns the arcsine of a function

func Asinh

func Asinh(value gcv.Value) gcv.Value

Asinh returns the inverseHyperbolicSine of a gcv Value

func Atan

func Atan(value gcv.Value) gcv.Value

Atan returns the arctangent of a gcv Value

func Atanh

func Atanh(value gcv.Value) gcv.Value

Atanh returns the inverseHyperbolicTangent of a gcv Value

func Ceil

func Ceil(value gcv.Value) (gcv.Value, error)

Ceil returns the ceil (rounded up) of a gcv Value if either Value is of type Complex an error is returned

func Conj

func Conj(value gcv.Value) gcv.Value

Conj returns the conjugate of a gcv Value

func Cos

func Cos(value gcv.Value) gcv.Value

Cos returns the cosine of a function

func Cosh

func Cosh(value gcv.Value) gcv.Value

Cosh returns the hyperbolicCosine of a gcv Value

func Cot

func Cot(value gcv.Value) gcv.Value

Cot returns the cot of a gcv Value, meant for Value of type Complex

func Div

func Div(valueA gcv.Value, valueB gcv.Value) gcv.Value

Div will divide two gcv Values together

func Erf

func Erf(value gcv.Value) (gcv.Value, error)

Erf returns the error function of a gcv Value. if either Value is of type Complex an error is returned

func Floor

func Floor(value gcv.Value) (gcv.Value, error)

Floor returns the floor (rounded down) of a gcv Value. if either Value is of type Complex an error is returned

func Log

func Log(value gcv.Value) gcv.Value

Log returns the natural log of gcv Value

func Log10

func Log10(value gcv.Value) gcv.Value

Log10 returns the log base 10 of gcv Value

func LogBase

func LogBase(valueA gcv.Value, valueB gcv.Value) gcv.Value

LogBase returns the log of gcv Value valueA in base of gcv Value valueB

func Max

func Max(valueA gcv.Value, valueB gcv.Value) (gcv.Value, error)

Max returns the max of two gcv Value if either Value is of type Complex an error is returned

func Min

func Min(valueA gcv.Value, valueB gcv.Value) (gcv.Value, error)

Min returns the minimum of two gcv Value. if either Value is of type Complex an error is returned

func Mod

func Mod(valueA gcv.Value, valueB gcv.Value) (gcv.Value, error)

Mod returns the modulo of a real Value valueA by a real Value valueB. if either Value is of type Complex an error is returned

func Mult

func Mult(valueA gcv.Value, valueB gcv.Value) gcv.Value

Mult will multiply two gcv Values together

func MustCeil

func MustCeil(value gcv.Value) gcv.Value

MustCeil is the same as Ceil but will panic if value is complex

func MustErf

func MustErf(value gcv.Value) gcv.Value

MustErf is the same as Erf but will panic if value is complex

func MustFloor

func MustFloor(value gcv.Value) gcv.Value

MustFloor is the same as Floor but will panic if value is complex

func MustMax

func MustMax(valueA gcv.Value, valueB gcv.Value) gcv.Value

MustMax is the same as Max but will panic if value is complex

func MustMin

func MustMin(valueA gcv.Value, valueB gcv.Value) gcv.Value

MustMin is the same as Min but will panic if value is complex

func MustMod

func MustMod(valueA gcv.Value, valueB gcv.Value) gcv.Value

MustMod is the same as Mod but will panic if either value is complex

func Pow

func Pow(valueA gcv.Value, valueB gcv.Value) gcv.Value

Pow returns the power of gcv Value valueA raised to the power of gcv Value valueB

func Sin

func Sin(value gcv.Value) gcv.Value

Sin returns the sine of a function

func Sinh

func Sinh(value gcv.Value) gcv.Value

Sinh returns the hyperbolicSine of a gcv Value

func Sqrt

func Sqrt(value gcv.Value) gcv.Value

Sqrt returns the square root of a gcv Value

func Sub

func Sub(valueA gcv.Value, valueB gcv.Value) gcv.Value

Sub will subtract two gcv Values together

func Tan

func Tan(value gcv.Value) gcv.Value

Tan returns the tangent of a function

func Tanh

func Tanh(value gcv.Value) gcv.Value

Tanh returns the hyperbolicTangent of a gcv Value

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL