Pacioli

A statically typed unit-aware matrix language

View project on GitHub

Pacioli Matrix

The matrix web component displays a matrix.

The pacioli-matrix Component

The pacioli-matrix element adds a Pacioli matrix to a web page. The appearance can be changed with various options.

<pacioli-matrix definition="..."></pacioli-matrix>

The definition refers to a Pacioli matrix.

Common

definition
Name of the value or function to display
width
Width of the pacioli component.
height
Height of the pacioli component.
margin
Margin used around charts. For example margin="10,10,10,10"
decimals
Number of decimals for numbers. Default is 2.
zero
String to display for zero values
raw
Ignore number of decimals and display numbers with relevant digits.
exponential
Display numbers in exopnential format.

Matrix

headers
Add rows and columns with headers
headerunits
Show units in the headers
nounits
Dont's display units of measurement
evenwidth
Give all columns the same width
order
Tensor order. For example order="2,0"
ascii
Display the table in ascii format.
clipboard
Display the table in clipboard format.