symengine-0.1.2.0: SymEngine symbolic mathematics engine for Haskell

Symengine

Description

Synopsis

# Documentation

The ascii_art_str function prints SymEngine in ASCII art. this is useful as a sanity check

constructor for 0

constructor for 1

constructor for i = sqrt(-1)

the ratio of the circumference of a circle to its radius

The base of the natural logarithm

constructor for -1

Create a rational number with numerator and denominator

Create a complex number a + b * im

Create a symbol with the given name

data BasicSym Source #

represents a symbol exported by SymEngine. create this using the functions zero, one, minus_one, e, im, rational, complex, and also by constructing a number and converting it to a Symbol

>>> 3.5 :: BasicSym
7/2

>>> rational 2 10
1 /5

>>> complex 1 2
1 + 2*I


Instances

 Source # Methods Source # Methods Source # Methods Source # Methods Source # MethodsshowList :: [BasicSym] -> ShowS #