P5-math-symbolicx-statistics-distributions

Jul 20, 2023

Statistical distributions

This module offers easy access to formulas for a few often-used distributions. For that, it uses the MathSymbolic module which gives the user an opportunity to manufacture distributions to his liking.

The module can be used in two styles It has a procedural interface which is demonstrated in the first half of the synopsis. But it also features a wholly different interface It can modify the MathSymbolic parser so that you can use the distributions right inside strings that will be parsed as MathSymbolic trees. This is demonstrated for very simple cases in the second half of the synopsis.

All arguments in both interface styles are optional. Whichever expression is used instead of, for examle ‘mean’, is plugged into the formula for the distribution as a MathSymbolic tree. Details on argument handling are explained below.

Please see the section on Export for details on how to choose the interface style you want to use.



Checkout these related ports:
  • Zn_poly - C library for polynomial arithmetic
  • Zimpl - Language to translate the LP models into .lp or .mps
  • Zegrapher - Software for plotting mathematical objects
  • Zarray - Dynamically typed N-D expression system based on xtensor
  • Z3 - Z3 Theorem Prover
  • Yices - SMT solver
  • Yacas - Yet Another Computer Algebra System
  • Xtensor - Multi-dimensional arrays with broadcasting and lazy computing
  • Xtensor-python - Python bindings for xtensor
  • Xtensor-io - Xtensor plugin to read/write images, audio files, numpy npz and HDF5
  • Xtensor-blas - BLAS extension to xtensor
  • Xspread - Spreadsheet program for X and terminals
  • Xppaut - Graphical tool for solving differential equations, etc
  • Xplot - X11 plotting package
  • Xlife++ - XLiFE++ eXtended Library of Finite Elements in C++