Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bluemathsoft/bluemath

Math kernel in Javascript
https://github.com/bluemathsoft/bluemath

emscripten javascript mathematics typescript

Last synced: 3 months ago
JSON representation

Math kernel in Javascript

Awesome Lists containing this project

README

        

# bluemath

[![NPM package](https://img.shields.io/npm/v/bluemath.svg)](https://www.npmjs.com/package/bluemath)

[![License](https://img.shields.io/badge/License-APL2.0-blue.svg)](https://choosealicense.com/licenses/apache-2.0/)

[**Docs**](http://www.bluemathsoftware.com/docs.html)

[**Tests**](http://www.bluemathsoftware.com/tests/index.html)

[**Launch Shell**](http://www.bluemathsoftware.com/shell/index.html)

BlueMath is Math kernel library purely written in Javascript. *Work in progress*

It has several sub-modules which can be used on their own

## Modules

[@bluemath/common](https://github.com/bluemathsoft/bm-common)

Common components used by other modules of BlueMath. e.g. NDArray

[![NPM package](https://img.shields.io/npm/v/@bluemath/common.svg)](https://www.npmjs.com/package/@bluemath/common)

[@bluemath/linalg](https://github.com/bluemathsoft/bm-linalg)

Built on top of emscriptened LAPACK library. Provides low level access to LAPACK and high level Linear Algebra API

[![NPM package](https://img.shields.io/npm/v/@bluemath/linalg.svg)](https://www.npmjs.com/package/@bluemath/linalg)

[@bluemath/geom](https://github.com/bluemathsoft/bm-geom)

Implements NURBS geometry for the use in CAD Applications

[![NPM package](https://img.shields.io/npm/v/@bluemath/geom.svg)](https://www.npmjs.com/package/@bluemath/geom)

[@bluemath/topo](https://github.com/bluemathsoft/bm-topo)

Implements Topology concepts (Winged edge data structure, Euler Operators) for use in CAD Applications

[![NPM package](https://img.shields.io/npm/v/@bluemath/topo.svg)](https://www.npmjs.com/package/@bluemath/topo)

Usage
===

npm install bluemath

Usage in TypeScript or ES6 modules javascript code

```typescript
import * as bluemath from 'bluemath'
console.log(bluemath.eye(3));
```

Usage in Common JS environment (eg. node.js, browserify)

```javascript
const bluemath = require('bluemath');
console.log(bluemath.eye(3));
```