# vatrix

> matrix tools

Latest version **0.0.6** (published 2013-09-15) · DAFUQ license · 0 weekly downloads

## Install

```sh
npm install vatrix
pnpm add vatrix
yarn add vatrix
bun add vatrix
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2013-09-15 |
| First published | 2013-03-12 |
| Weekly downloads | 0 |
| License | DAFUQ |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | ashnur |
| Maintainers | ashnur |
| Keywords | vatrix, vatrices, matrix, matrices |

## Links

- npm: https://www.npmjs.com/package/vatrix
- Repository: https://github.com/ashnur/vatrix
- Issues: https://github.com/ashnur/vatrix/issues
- npm.io page: https://npm.io/package/vatrix

## Dependencies (3)

- [momentum](https://npm.io/package/momentum.md) ~0.1.2
- [totemizer](https://npm.io/package/totemizer.md) ~0.0.5
- [deep-equal](https://npm.io/package/deep-equal.md) 0.0.0

## Recent versions

- 0.0.6 (latest) — 2013-09-15
- 0.0.5 — 2013-09-14
- 0.0.4 — 2013-09-14
- 0.0.3 — 2013-09-10
- 0.0.1 — 2013-03-12
- 0.0.0 — 2013-03-12

## README

vatrix
======


#**UNDER HEAVY DEVELOPMENT. NOT FINISHED and NOT USABLE** (yet :)

vectors, matrices and vatrices. :D


inspiration [WildLinAlg26: Change of basis and Taylor coefficient vectors](http://www.youtube.com/watch?v=iz41Ut-ffJ0)

## Why
There isn't a good, performant vectorn, matrixn library for javascript. And I need it.
There is of course [matrixjs](https://npmjs.org/package/matrixjs), but to be hones I do not like to much recursive implementations and it uses floats, which I am not a fan of.

# Support
[![browser support](http://ci.testling.com/ashnur/vatrix.png)](http://ci.testling.com/ashnur/vatrix)

## Example

The goal is to have a conviently usable general vector tool. This means that some of the functions can take arguments with various types.

I've decided not to check for arguments which doesn't make sense (like providing numbers instead of arrays to vectorAddition()).
If you get exceptions complaining about something related to arrays, chances are you've given a number somewhere where it doesn't make sense.

### Scalar multiplication


```javascript
var vatrix = require('vatrix');

vatrix.vectorMultiply([1,3,5,7,11,13], 13); //[13,39,65,91,143,169]


```

For more examples, see tests/vatrix-test.js.

## Install

### npm

```bash
npm install vatrix
```

### browser

Download src/delve.js, and include it as a script tag.

---
_Source: https://npm.io/package/vatrix · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
