math

package
v0.0.0-...-190a898 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 License: LGPL-3.0-or-later Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Sin, Sinh, Asin, Asinh lisp.Gfac
	Cos, Cosh, Acos, Acosh lisp.Gfac
	Tan, Tanh, Atan, Atanh lisp.Gfac
	Exp, Log               lisp.Gfac
	Sqrt                   lisp.Gfac
	Pow                    lisp.Gfac
)

These define math function in go-lisp

Functions

func Wrap1

func Wrap1(f func(float64) float64) func([]lisp.Token, *lisp.Lisp) (lisp.Token, error)

Wrap1 is a function conversion that converts a math function with form func(float64) float64 to Gfac

func Wrap2

func Wrap2(f func(float64, float64) float64) func([]lisp.Token, *lisp.Lisp) (lisp.Token, error)

Wrap2 is a function conversion that converts a math function with form func(float64, float64) float64 to Gfac

Types

This section is empty.

Jump to

Keyboard shortcuts

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