jit.print Reference

Print a matrix in the Max Console

jit.print

Description

Use the jit.print object to print values for small matrices display and display them in the Max Console. For larger matrices, use jit.fprint which prints its contents to a file.

Examples

Discussion

Delimiters may be set for plane, column and row. Dimensions are delimited by <DIM N>, where N = the current dimension.

Matrix Operator

matrix inputs:1, matrix outputs:1
Name IOProc Planelink Typelink Dimlink Plane Dim Type
out n/a 1 1 1 1 1 char long float32 float64

More about Matrix Operators

The Jitter MOP

MOP Arguments

MOP Attributes

MOP Messages

Attributes

coldelim [symbol]

Column delimiter

fieldwidth [int]

Number of characters to display per cell

info [int]

Information mode (default = 0 (matrix, no info))
0 = display matrix contents, no info
1 = display matrix info and contents
2 = display matrix into only

mode [int]

Character display mode (default = 0 (decimal))
0 = decimal
1 = hexadecimal (used for char and long matrices only)
2 = ascii (used for char matrices only)

planedelim [symbol]

Plane delimiter

precision [int]

Floating-point precision characters

rowdelim [symbol]

Row delimiter

title [symbol]

Matrix display title

zeropad [int]

Zero padding flag (default = 0) When the flag is set, empty display spaces in a matrix are filled with zeros.

Common Box Attributes

See Also

Name Description
jit.fpsgui
jit.fprint
jit.matrixinfo
Tutorial 2: Create a Matrix Tutorial 2: Create a Matrix
Tutorial 11: Lists and Matrices Tutorial 11: Lists and Matrices