Zyxonia/Libraries

From Esolang
Jump to navigation Jump to search

Back to Zyxonia

Zyxonia has lots of libraries. They often used to make more functions, and do special things in Zyxonia.

Here are some useful libraries.

MATH

This library provides mathematical calculations.

SIN a
COS a
TAN a
COT a
SEC a
CSC a
LOG a base
LG a
LN a
GCD a b
LCM a b
SQRT a
CBRT a
QDRT a
POW a b
ROOT a b
ARCSIN a
ARCCOS a
ARCTAN a
ARCCOT a
ARCSEC a
ARCCSC a
SINH a
COSH a
TANH a
COTH a
SECH a
CSCH a
MOD a b
ABS a
CEIL a
FLOOR a
ROUND45 a

RANDOM

This library provides random functions.

RAND // Random float with range [0, 1)
RANDINT a b
CHOICE a
SHUFFLE a
PASSWORD a
RANDFLOAT a b
SEED a
RANDSTR charset length

RE

This library provides regular expressions.

MATCH string pattern mode
SEARCH string pattern mode
REPLACE string pattern1 pattern2 mode

ALG

This library provides useful algorithms and data structures.

QUEUE

PUSH_FRONT
PUSH_BACK
POP_FRONT
POP_BACK
SIZE
SEARCH
MODIFY
INITIALIZE

STACK

PUSH
POP
SIZE
COMPARE

BTREE

CREATE
INSERT
PREORDER
INORDER
POSTORDER
DELETE
SEARCH

Others

SORT list, cmp
REVERSE
MAX
MIN
MEMSET
SEARCH