List (and matrix, tables) package for the Fōrmulæ programming language.
Fōrmulæ is also a software framework for visualization, edition and manipulation of complex expressions, from many fields. The code for an specific field —i.e. arithmetics— is encapsulated in a single unit called a Fōrmulæ package.
This repository contains the source code for the list package. It is intended to the computation on lists. Despite the name, it includes a lot of expressions related to vectors, matrices (because a matrix is a list of -same cardinallity- subslists), and tables.
The GitHub organization formulae-org encompasses the source code for the rest of packages, as well as the web application.
-
Visualization of expressions
- List, it is shown as
$\{ element_1, element_2, ..., element_n \}$ - Matrix
- Table
- List, it is shown as
-
Edition
- Manual creation of a list. It creates a list with the currently selected expression as it single element
- Manual creation of a multi-element list of a provided number of elements
- Manual creation of a matrix of given number of rows and columns
- Manual creation of a table from a matrix
-
Reduction
- Related to lists/vectors
-
Sort the elements of a list/vector
- Using the natural order of its elements
- Using a custom comparator, provided as a lambda expression
- Cartesian product of two or more lists/vectors
- Cartesian exponentiation of a list/vector
- Dot product of two or more lists/vectors
- Power set of two or more lists/vectors
-
Sort the elements of a list/vector
- Related to matrices
- Matrix multiplication
- Transpose of a matrix
- Determinant of a matrix
- Kronecker product of two or more matrices
- Conjugate transpose of a matrix
- Programmatic creation of list/vectors/matrices/tables
- Creation of a list from a range e.g. 5..10
- Related to lists/vectors