/package-list-js

List package for Fōrmulæ, in JavaScript

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

package-list-js

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.

Capabilities

  • Visualization of expressions

    • List, it is shown as $\{ element_1, element_2, ..., element_n \}$
    • Matrix
    • Table
  • 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