@chemistry/math
Math support for @chemistry project
Last updated 5 months ago by vreshch .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @chemistry/math 
SYNC missed versions from official npm registry.

@chemistry/math

npm version Build Status codecov License: MIT

Simple linear algebra Math library to support chemistry js project

Install

npm install @chemistry/math

Include following clases:

  • Vec3
  • Matrix3x3
  • Matrix3x4
  • Transform3d
  • Quaternion

Getting started:

import { V, ChemElementData } from '@chemistry/math';
const matrix = new Matrix3x3([1, 0, 0,  0, 2, 0,  0, 0, 3]);
const vector = new Vec3(2, 3, 1);

const res = matrix.project(vector);
// (2.00, 6.00, 3.00)
console.log(res);

Commands:

  • Build project: npm run build

Current Tags

  • 2.5.1                                ...           latest (5 months ago)

13 Versions

  • 2.5.1                                ...           5 months ago
  • 2.2.3                                ...           5 months ago
  • 2.2.2                                ...           7 months ago
  • 2.2.1                                ...           7 months ago
  • 2.2.0                                ...           7 months ago
  • 2.1.6                                ...           8 months ago
  • 2.1.5                                ...           a year ago
  • 2.1.4                                ...           a year ago
  • 2.1.3                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 14
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |