Functions

Language Fundamentals

Data Types / Numeric Types

MatLang.doubleMFunction
doubleM(x)

Converts to Float64 type.

Examples

nFloat64 = doubleM(12.0)
t1 = typeof(nFloat64) # Float64
MatLang.int16MFunction
int16M(x)

Converts to Int16 type.

Examples

nInt16 = int16M(-10)
t4 = typeof(nInt16) # Int16
MatLang.int32MFunction
int32M(x)

Converts to Int32 type.

Examples

nInt32 = int32M(-10)
t5 = typeof(nInt32) # Int32
MatLang.int64MFunction
int64M(x)

Converts to Int64 type.

Examples

nInt64 = int64M(-10)
t6 = typeof(nInt64) # Int64
MatLang.int8MFunction
int8M(x)

Converts to Int8 type.

Examples

nInt8 = int8M(-10)
t3 = typeof(nInt8) # Int8
MatLang.singleMFunction
singleM(x)

Converts to Float32 type.

Examples

nFloat32 = singleM(12.0)
t2 = typeof(nFloat32) # Float32
MatLang.uint16MFunction
uint16M(x)

Converts to UInt16 type.

Examples

nUInt16 = uint16M(10)
t8 = typeof(nUInt16) # UInt16
MatLang.uint32MFunction
uint32M(x)

Converts to UInt32 type.

Examples

nUInt32 = uint32M(10)
t9 = typeof(nUInt32) # UInt32
MatLang.uint64MFunction
uint64M(x)

Converts to UInt64 type.

Examples

nUInt64 = uint64M(10)
t10 = typeof(nUInt64) # UInt64
MatLang.uint8MFunction
uint8M(x)

Converts to UInt8 type.

Examples

nUInt8 = uint8M(10)
t7 = typeof(nUInt8) # UInt8