# Types

Name Description
Boolean Boolean.
File File handle.
Integer = Integer64 Default integer.
Integer16 < Integer32 16-bit signed integer.
Integer32 < Integer64 32-bit signed integer.
Integer64 < Real64 64-bit signed integer.
Integer8 < Integer16 8-bit signed integer.
LLT Cholesky decomposition of a symmetric positive definite matrix, $S = LL^T$. The object acts as the matrix $S$, defines conversion to and assignment from Real[_,_], and is intended as more or less a drop-in replacement for that type, albeit sharing, as usual for objects (i.e. copy-by-reference rather than copy-by-value semantics). That sharing permits, for example, multiple multivariate Gaussian distributions to share the same covariance or precision matrix with common posterior updates performed only once. Various functions, such as solve, have overloads that make use of LLT objects for more efficient computation. !!! important To emphasize, the matrix represented is $S$, not $L$, which is to say, code such as the following: auto A <- llt(S); y <- solve(A, x); computes the matrix-vector product $y = S^{^-1}x$, not $y = L^{-1}x$, however the Cholesky decomposition will be used to solve this more efficiently than a general matrix solve. The point of an LLT object is to maintain the original matrix in a decomposed form for more efficient computation.
Real = Real64 Default floating point.
Real32 < Real64 32-bit (single precision) floating point.
Real64 64-bit (double precision) floating point.
String Character string.

function Boolean(x:Boolean) -> Boolean

Convert to Boolean.

function Boolean(x:String) -> Boolean

Convert to Boolean.

function Boolean(x:Boolean?) -> Boolean?

Convert to Boolean.

function Boolean(x:String?) -> Boolean?

Convert to Boolean.

function Integer(x:Real64) -> Integer

Convert to Integer.

function Integer(x:Real32) -> Integer

Convert to Integer.

function Integer(x:Integer64) -> Integer

Convert to Integer.

function Integer(x:Integer32) -> Integer

Convert to Integer.

function Integer(x:Integer16) -> Integer

Convert to Integer.

function Integer(x:Integer8) -> Integer

Convert to Integer.

function Integer(x:String) -> Integer

Convert to Integer.

function Integer(x:Real64?) -> Integer?

Convert to Integer.

function Integer(x:Real32?) -> Integer?

Convert to Integer.

function Integer(x:Integer64?) -> Integer?

Convert to Integer.

function Integer(x:Integer32?) -> Integer?

Convert to Integer.

function Integer(x:Integer16?) -> Integer?

Convert to Integer.

function Integer(x:Integer8?) -> Integer?

Convert to Integer.

function Integer(x:String?) -> Integer?

Convert to Integer.

function Integer16(x:Real64) -> Integer16

Convert to Integer16.

function Integer16(x:Real32) -> Integer16

Convert to Integer16.

function Integer16(x:Integer64) -> Integer16

Convert to Integer16.

function Integer16(x:Integer32) -> Integer16

Convert to Integer16.

function Integer16(x:Integer16) -> Integer16

Convert to Integer16.

function Integer16(x:Integer8) -> Integer16

Convert to Integer16.

function Integer16(x:String) -> Integer16

Convert to Integer16.

function Integer16(x:Real64?) -> Integer16?

Convert to Integer16.

function Integer16(x:Real32?) -> Integer16?

Convert to Integer16.

function Integer16(x:Integer64?) -> Integer16?

Convert to Integer16.

function Integer16(x:Integer32?) -> Integer16?

Convert to Integer16.

function Integer16(x:Integer16?) -> Integer16?

Convert to Integer16.

function Integer16(x:Integer8?) -> Integer16?

Convert to Integer16.

function Integer16(x:String?) -> Integer16?

Convert to Integer16.

function Integer32(x:Real64) -> Integer32

Convert to Integer32.

function Integer32(x:Real32) -> Integer32

Convert to Integer32.

function Integer32(x:Integer64) -> Integer32

Convert to Integer32.

function Integer32(x:Integer32) -> Integer32

Convert to Integer32.

function Integer32(x:Integer16) -> Integer32

Convert to Integer32.

function Integer32(x:Integer8) -> Integer32

Convert to Integer32.

function Integer32(x:String) -> Integer32

Convert to Integer32.

function Integer32(x:Real64?) -> Integer32?

Convert to Integer32.

function Integer32(x:Real32?) -> Integer32?

Convert to Integer32.

function Integer32(x:Integer64?) -> Integer32?

Convert to Integer32.

function Integer32(x:Integer32?) -> Integer32?

Convert to Integer32.

function Integer32(x:Integer16?) -> Integer32?

Convert to Integer32.

function Integer32(x:Integer8?) -> Integer32?

Convert to Integer32.

function Integer32(x:String?) -> Integer32?

Convert to Integer32.

function Integer64(x:Integer64) -> Integer64

Convert to Integer64.

function Integer64(x:Real64) -> Integer64

Convert to Integer64.

function Integer64(x:Real32) -> Integer64

Convert to Integer64.

function Integer64(x:Integer32) -> Integer64

Convert to Integer64.

function Integer64(x:Integer16) -> Integer64

Convert to Integer64.

function Integer64(x:Integer8) -> Integer64

Convert to Integer64.

function Integer64(x:String) -> Integer64

Convert to Integer64.

function Integer64(x:Integer64?) -> Integer64?

Convert to Integer64.

function Integer64(x:Real64?) -> Integer64?

Convert to Integer64.

function Integer64(x:Real32?) -> Integer64?

Convert to Integer64.

function Integer64(x:Integer32?) -> Integer64?

Convert to Integer64.

function Integer64(x:Integer16?) -> Integer64?

Convert to Integer64.

function Integer64(x:Integer8?) -> Integer64?

Convert to Integer64.

function Integer64(x:String?) -> Integer64?

Convert to Integer64.

function Integer8(x:Real64) -> Integer8

Convert to Integer8.

function Integer8(x:Real32) -> Integer8

Convert to Integer8.

function Integer8(x:Integer64) -> Integer8

Convert to Integer8.

function Integer8(x:Integer32) -> Integer8

Convert to Integer8.

function Integer8(x:Integer16) -> Integer8

Convert to Integer8.

function Integer8(x:Integer8) -> Integer8

Convert to Integer8.

function Integer8(x:String) -> Integer8

Convert to Integer8.

function Integer8(x:Real64?) -> Integer8?

Convert to Integer8.

function Integer8(x:Real32?) -> Integer8?

Convert to Integer8.

function Integer8(x:Integer64?) -> Integer8?

Convert to Integer8.

function Integer8(x:Integer32?) -> Integer8?

Convert to Integer8.

function Integer8(x:Integer16?) -> Integer8?

Convert to Integer8.

function Integer8(x:Integer8?) -> Integer8?

Convert to Integer8.

function Integer8(x:String?) -> Integer8?

Convert to Integer8.

function Real(x:Real64) -> Real

Convert to Real.

function Real(x:Real32) -> Real

Convert to Real.

function Real(x:Integer64) -> Real

Convert to Real.

function Real(x:Integer32) -> Real

Convert to Real.

function Real(x:Integer16) -> Real

Convert to Real.

function Real(x:Integer8) -> Real

Convert to Real.

function Real(x:String) -> Real

Convert to Real.

function Real(x:Real64?) -> Real?

Convert to Real.

function Real(x:Real32?) -> Real?

Convert to Real.

function Real(x:Integer64?) -> Real?

Convert to Real.

function Real(x:Integer32?) -> Real?

Convert to Real.

function Real(x:Integer16?) -> Real?

Convert to Real.

function Real(x:Integer8?) -> Real?

Convert to Real.

function Real(x:String?) -> Real?

Convert to Real.

function Real32(x:Real64) -> Real32

Convert to Real32.

function Real32(x:Real32) -> Real32

Convert to Real32.

function Real32(x:Integer64) -> Real32

Convert to Real32.

function Real32(x:Integer32) -> Real32

Convert to Real32.

function Real32(x:Integer16) -> Real32

Convert to Real32.

function Real32(x:Integer8) -> Real32

Convert to Real32.

function Real32(x:String) -> Real32

Convert to Real32.

function Real32(x:Real64?) -> Real32?

Convert to Real32.

function Real32(x:Real32?) -> Real32?

Convert to Real32.

function Real32(x:Integer64?) -> Real32?

Convert to Real32.

function Real32(x:Integer32?) -> Real32?

Convert to Real32.

function Real32(x:Integer16?) -> Real32?

Convert to Real32.

function Real32(x:Integer8?) -> Real32?

Convert to Real32.

function Real32(x:String?) -> Real32?

Convert to Real32.

function Real64(x:Real64) -> Real64

Convert to Real64.

function Real64(x:Real32) -> Real64

Convert to Real64.

function Real64(x:Integer64) -> Real64

Convert to Real64.

function Real64(x:Integer32) -> Real64

Convert to Real64.

function Real64(x:Integer16) -> Real64

Convert to Real64.

function Real64(x:Integer8) -> Real64

Convert to Real64.

function Real64(x:String) -> Real64

Convert to Real64.

function Real64(x:Real64?) -> Real64?

Convert to Real64.

function Real64(x:Real32?) -> Real64?

Convert to Real64.

function Real64(x:Integer64?) -> Real64?

Convert to Real64.

function Real64(x:Integer32?) -> Real64?

Convert to Real64.

function Real64(x:Integer16?) -> Real64?

Convert to Real64.

function Real64(x:Integer8?) -> Real64?

Convert to Real64.

function Real64(x:String?) -> Real64?

Convert to Real64.

function String(x:Boolean) -> String

Convert to string.

function String(x:Real64) -> String

Convert double-precision floating point number to string.

function String(x:Real32) -> String

Convert single-precision floating point number to string.

function String(x:Integer64) -> String

Convert to string.

function String(x:Integer32) -> String

Convert to string.

function String(x:Integer16) -> String

Convert to string.

function String(x:Integer8) -> String

Convert to string.

function String(x:String) -> String

Convert to string.

function String(x:Boolean?) -> String?

Convert to string.

function String(x:Real64?) -> String?

Convert to string.

function String(x:Real32?) -> String?

Convert to string.

function String(x:Integer64?) -> String?

Convert to string.

function String(x:Integer32?) -> String?

Convert to string.

function String(x:Integer16?) -> String?

Convert to string.

function String(x:Integer8?) -> String?

Convert to string.

function String(x:String?) -> String?

Convert to string.

function String(X:Real[_,_]) -> String

Convert matrix to String.

function String(X:Integer[_,_]) -> String

Convert matrix to String.

function String(X:Boolean[_,_]) -> String

Convert matrix to String.

function String(x:Real[_]) -> String

Convert vector to String.

function String(x:Integer[_]) -> String

Convert vector to String.

function String(x:Boolean[_]) -> String

Convert vector to String.