--- title: Math and Statistics pagination_prev: demos/index pagination_next: demos/frontend/index --- import DocCardList from '@theme/DocCardList'; import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; With full support for IEEE754 doubles and singles, JavaScript is an excellent language for mathematics and statistical analysis. It has also proven to be a viable platform for machine learning. ## Demos Demos for various libraries are included in separate pages:
Index | Name |
---|---|
{i} | {name} |
{c} | ))}
---|
{col} | ))}
JavaScript | Spreadsheet |
---|---|
```js var aoa = [ ["sepal length", 5.1, 4.9], ["sepal width", 3.5, 3], ["petal length", 1.4, 1.4], ["petal width", 0.2, 0.2], ["class", "setosa", "setosa"] ] ``` | ![Single column of data](pathname:///typedarray/iristr.png) |
JavaScript | Spreadsheet |
---|---|
```js var data = [ [54337.95], [3.14159], [2.718281828] ]; ``` | ![Single column of data](pathname:///typedarray/col.png) |