This is an automatically-generated list of all OADL man pages.

val.abs()
Compute the absolute value
arr.accum(op)
Compute the incremental result of an operation
oadl::argvec()
Return a List containing all the arguments passed to the current procedure
oadl::arg(n)
Return the n'th argument of the current procedure
arr.arrbase()
Return the base type of an array
arr0.arrcmp(arr1)
Lexicographical comparison of two arrays
arr.meth(... AXIS)
OADL array axis numbering
file.binary()
Query whether a File was opened with a binary mode
val.clamp(lo,hi)
Clamp a value between two scalar limits
file.clearerr()
Clear any error conditions on the given file
file.close()
Close an open File
obj.operator {}(args)
Object completion method
arr0.concat(arr1,arr2,...)
Concatenate arrays
conform
OADL array conformability rules
val.copy()
Create a shallow (non-recursive) copy of a value
obj.create(args)
Object creation method
val0.decode(val1)
Decode an array based on a key
val.deepcopy()
Create a deep (recursive) copy of a value
oadl::deleted(obj)
Returns whether an object has been marked for deletion
obj.destroy()
Object destruction method
val.disclose()
Remove one level of enclosure from a value
arr.drop(spec)
Return the suffix of an array
val.enclose()
Create an enclosed scalar or list of enclosed scalars from a value
base.encode(val)
Compute the representation of the argument in the radix system defined by the base
file.feof()
Test a file's end-of-file indicator
file.ferror()
Returns whether there is an error condition on a file
file.fflush()
Flush any pending buffered file input or output
oadl::findobj(str)
Finds a global object named str
oadl::findpub(str)
Finds a public index named str
val.fix2flt(typ)
Convert a value or values from fixed-point to floating-point
arr.flatten()
Returns a 1D vector containing every element of an array
val.flt2fix(typ)
Convert a value or values from floating-point to fixed-point
forall (expr) { stmts }
Execute a sequence of statements according to an expression template.
foreach (arr-expr) { expr }
Create an appropriately-sized Array or List by evaluating expr according to the arr-expr template
str = format(fmtspec, val, ...)
Creates a String or WideString representation of values based on a format specification
file.fseek(offs, whence)
Change the current read/write position in a File
file.ftell()
Returns the current read or write position in a File
oadl::gc()
Perform a garbage collection (memory reclamation) cycle
getchar()
Reads a single character from the given File
file.getswab()
Queries whether a binary file will swap multibyte scalars
io::getvar()
Reads a value from a file which was formatted according to io::putvar()
oadl::halt()
Halts the OADL machine
idx.increment(shp)
Increment a multi-dimensional index
arr = arr,,0,,.inner(op,,0,,, op,,1,,, arr,,1,,)
Compute the inner product of two arrays
arr,,0,,.intersect(arr,,1,,)
Compute the set intersection of two arrays
file.readonly()
Query whether a File was opened read-only
val.isarray()
Test if a value is an array
oadl::is_a(val, typ)
Checks whether a val has a type that is a descendant of a type
val.ischar()
Test if a value is a character
val.isfloat()
Test if a value is a floating-point number
val.isinteger()
Test if a value is an integer
val.isnumeric()
Test if a value is a number
file.ispipe()
Returns whether file is a pipe to an external executable
val.isstring()
Test if a value is a string
n->iterate()
Return an array of sequential integers starting from zero
res = arr0.laminate(arr1[, axis])
Concatenate two arrays about an alternate axis
val.length()
Returns the length of a value
res = first.lerp(last, dist)
Linearly interpolates or extrapolates between two values
oadl::longjmp(buf, val)
Executes a non-local jump
oadl::matchvec()
Returns the current match vector
res = type.maxval()
Maximum representable value for a type
res = a.max(b)
Maximum of two or more values
res = lhs.member(rhs)
Test if elements are members of a set
res = type.minval()
Minimum representable value for a type
res = a.min(b)
Minimum of two or more values
oadl::nargs()
Returns the number of arguments passed to the currently executing procedure
file = new File(name, mode)
Create a new file handle
res = arr.nreduce(n, op[, axis])
Windowed reduction along an axis
OADL_AddExtern(ctx, name, func)
Define an Extern entry point
typedef int (*OADL_AddProc_fp)(void *ctx, OadlVar *pVar, const OADL_U8 instrs[], int numInst)
Adds a new procedure to the OADL runtime
oadlcalc
The OADL desk calculator
oadlc [flags] filenames
OADL compiler
oadldb [flags] [filename]
OADL binary debugger
oadldump
OADL binary inspector
oadledit [flags] [filenames]
The default OADL editor
{{{
Query the OADL runtime for a callback
oadl [flags] [filenames] [args]
OADL interpreter and desk calculator
oadlx [flags] filename [args]
OADL binary interpreter
void OADL_xxx_term(void *ctx)
System library tear-down entry point
int OADL_xxx(void *ctx, OADL_FindProc_fp findProc)
System library entry point
oadl::objname(obj)
Returns the name of the given global obj, if present
arr1.outer(op, arr2)
Generalized outer product
type.packtype([rank])
Determine pseudo-type for packing
arr.pack()
Creates a packed copy of the given heterogenous array
val.parent
Get the parent class
oadl::perm(val)
Creates a "permanent" copy of the given val
arr.position(items)
Find indices of items in an array
print(fmtspec, val, ...)
Format and print the UTF-8 representation of values based on a
type1.promote(type2)
Determine promoted type of two types
oadl::protect(val)
Returns a read-only copy of the given value
oadl::pubname(pub)
Returns the UTF-8 name of the given public index
putchar(ch)
Puts a single character out to the given File or
io::putvar(val, ...)
Prints the UTF-8 representation of values formatted with type and structure information
oadl::random()
Generate a pseudo-random floating-point number
val.rank()
Returns the rank (number of dimensions) of a value
arr.ravel()
Flatten or combine dimensions of an array
oadl::readonly(val)
Returns whether a value is read-only
file.readstr()
Reads a string from a file
Formatted, text-mode file reads:
Read values from a file
arr.reduce(op)
Reduce an array along an axis using an operator
arr.replicate(counts)
Replicate elements of an array along an axis
arr.reshape(shape)
Change the shape of an array
oadl::restart()
Restarts the OADL program
oadl::restore(fname)
Restores the OADL machine from a filename
arr.reverse()
Reverse an array along an axis
file.rewind()
Sets the current read/write position to the beginning of the file
arr.rotate(num)
Rotate elements of an array along an axis
val1.satadd(val2, min, max)
Saturated addition
val1.satsub(val2, min, max)
Saturated subtraction
oadl::save(fname)
Save the OADL machine to the given filename
say(val, ...)
Prints the UTF-8 representation of values based on default formatting rules
oadl::setjmp(buf)
Establish the target for a subsequent non-local jump
arr.setsubr(beg,,0,,, end,,0,,, ..., value)
Assign a value to a subrange of an array
file.setswab(bSwab)
Sets the binary file "swap bytes" flag
arr.shape()
Returns the shape of a value
val.signum()
Compute the sign of a value
val.sizeof()
Returns the total number of elements found in val
arr.sort()
Sort an array or list
oadl::srandom([seed])
Sets the seed for subsequent oadl::random() calls
oadl::str2var(str)
Convert a string to a value
arr.stride()
Return the number of elements between each dimension of an array
arr.subr(beg,,0,,, end,,0,,, ...)
Return a subrange of an array
arr.take(count)
Shorten or extend an array along one or more axes.
oadl::transient(val)
Returns whether a value is stored in the dynamic memory pool
arr.transpose()
Permute the axes of an array
oadl::typecheck(val,typ)
Ensure that a value is derived from a specified Type
typeof(val)
Returns the Type of value
ungetc(ch)
Returns a single character to the input buffer of the
arr,,1,,.union(arr,,2,,)
Return the union of elements in two arrays
arr.unique()
Return a vector containing the unique elements of an array
arr.unpack()
Convert a packed array to a generic array or list
oadl::wait(ms)
Pause execution for a specified duration
arr.width()
Return the size of the last axis of an array
arr,,1,,.without(arr,,2,,)
Return elements of an array not present in another
file.write(val, ...)
Write binary values to a file