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
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(num)
Return the suffix of an array
val.enclose()
Create an enclosed scalar or list of enclosed scalars from a value
val0.encode(val1)
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 vector containing every element of arr
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
oadl::halt()
Halts the OADL machine
idx.increment(shp)
Increments a multidimensional index based on an array shape
arr0.inner(op0, op1, arr1)
Computes the inner product of two arrays based on two operators
vec.intersect(arr)
Returns the vector intersection of vec and arr
file.readonly()
Query whether a File was opened read-only
val.isarray()
Returns whether val is an array of any kind
oadl::is_a(val, typ)
Checks whether a val has a type that is a descendant of a type
val.ischar()
Returns whether val is any character scalar of any kind
val.isfloat()
Returns whether val is a floating point scalar of any kind
val.isinteger()
Returns whether val is an integer scalar of any kind
val.isnumeric()
Returns whether val is a numeric scalar of any kind
file.ispipe()
Returns whether file is a pipe to an external executable
val.isstring()
Returns whether val is a string of any kind
val.iterate()
Returns a PackInt array of the given shape which iterates sequentially
arr0.laminate(arr1)
Concatenate two arrays about an alternate axis
val.length()
Returns the length of a value
val.lerp(lo, hi)
Linearly interpolates or extrapolates between lo and hi
oadl::longjmp(buf, val)
Executes a non-local jump
oadl::matchvec()
Returns the current match vector
typ.maxval()
Returns the maximum representable value of a given type
val0.max(val1, val2, ...)
Returns the maximum of several values
val.member(arr)
Returns whether val can be found in array arr
typ.minval()
Returns the minimum representable value of a given type
val0.min(val1, val2, ...)
Returns the minimum of several values
oadl::nargs()
Returns the number of arguments passed to the currently executing procedure
file = new File(name, mode)
Create a new file handle
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
oadl [flags] [filenames] [args]
OADL interpreter and desk calculator
oadlx [flags] filename [args]
OADL binary interpreter
oadl::objname(obj)
Returns the name of the given global obj, if present
arr0.outer(op,arr1)
Computes the outer product of arr0 and arr1
typ.packtype()
Returns the packed array type that corresponds to the given scalar type
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
vec.position(val)
Returns the position of val in the given vector vec
print(fmtspec, val, ...)
Format and print the UTF-8 representation of values based on a
val0.promote(val1)
Perform arithmetic type promotion on two values
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
oadl::random()
Returns a pseudo-random floating point number between 0. and 1.
val.rank()
Returns the rank (number of dimensions) of a value
arr.ravel()
Reduces the dimensionality 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)
Reduces the dimensionality of an array via an operation
arr.replicate(key)
Replicate elements of an array based on a key
arr.reshape(shp)
Creates a version of an array with a different shape
oadl::restart()
Restarts the OADL program
oadl::restore(fname)
Restores the OADL machine from a filename
arr.reverse()
Reverse the order of elements of an array along an axis
file.rewind()
Sets the current read/write position to the beginning of the file
arr.rotate(num)
Rotate the elements of an array along an axis
val0.satadd(val1,lo,hi)
Compute val0 + val1 and clamp the result to the given bounds
val0.satsub(val1,lo,hi)
Val1 and clamp the result to the given bounds
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
file.setswab(bSwab)
Sets the binary file "swap bytes" flag
arr.shape()
Returns the shape of a value
val.signum()
Returns the mathematical signum of a value
val.sizeof()
Returns the total number of elements found in val
arr.sort()
Sort an array
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(s0,e0,...)
Return a subrange of an array
arr.take(num)
Return the prefix of an array
oadl::transient(val)
Returns whether a value is stored in the dynamic memory pool
arr.transpose(code)
Change the order of 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
vec.union(arr)
Creates a new vector with unique elements from both arguments
vec.unique()
Creates a new vector with unique elements from a single argument
arr.unpack()
Create a new heterogeneous array from a given array
oadl::wait(millis)
Pause execution for a specified number of milliseconds
arr.width()
Return the size of the last axis of an array
vec.without(arr)
Create a new vector that removes elements of an array from a vector
file.write(val, ...)
Write binary values to a file