goalgebra

package module
v0.0.0-...-9632c6a Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: MIT Imports: 5 Imported by: 0

README

goalgebra

Go package for exact algebra computation

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmptyFraction = fraction{}

Functions

func Abs

func Abs(u rational) rational

func Add

func Add(x real, y real) real

func Div

func Div(u rational, w rational) rational

func Exp

func Exp(x real) exponential

func Frac

func Frac(a integer, b integer) fraction

func GCD

func GCD(a integer, b integer) (integer, error)

func Int

func Int(value int64) integer

func IntAbs

func IntAbs(a integer) integer

func IntAdd

func IntAdd(a integer, b integer) integer

func IntMinus

func IntMinus(a integer) integer

func IntMul

func IntMul(a integer, b integer) integer

func IntPow

func IntPow(a integer, b integer) (integer, error)

func IntSubtract

func IntSubtract(a integer, b integer) integer

func Inv

func Inv(u rational) rational

func Log

func Log(x real) logarithm

func Minus

func Minus(u rational) rational

func Mod

func Mod(a integer, b integer) (integer, error)

func Mul

func Mul(x real, y real) real

func Pow

func Pow(b real, e real) real

func Quotient

func Quotient(a integer, b integer) (integer, error)

func RatAdd

func RatAdd(u rational, w rational) rational

func RatMul

func RatMul(u rational, w rational) rational

func RatPow

func RatPow(u rational, n integer) rational

func Subtract

func Subtract(u rational, w rational) rational

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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