tsmathlib

0.2.1 • Public • Published

TSMathLib

A math library developed by Typescript.

Getting Started

npm i tsmathlib

Method

Data Type

  • N-dimensions Vector
  • M * N Matrix
  • Sparse Matrix
  • Quaternion

Data Structure

  • HashSet

Algorithm

  • Solve a linear equation Ax = b
    • Conjugate Gradient Method
    • Gaussian Elimination
    • Cramer's Rule
  • Gram Schmidt Process Method

Demo

Application

Commands for Typescript

  • develop: yarn run watch
  • build: yarn run build
  • check code: yarn run check
  • fix tslint: yarn run tslint-fix
  • delete node_modules: rimraf node_modules
  • npm update check: ncu -> ncu -u -> npm install

Reference

  • Pérez, Patrick, Michel Gangnet, and Andrew Blake. "Poisson image editing." ACM Transactions on graphics (TOG) 22.3 (2003): 313-318.
  • M. Becker and M. Teschner, Weakly Compressible SPH for Free Furface Flows, In Proc. SCA2007, pp.209-217, 2007.
  • M. Desbrun and M.-P. Cani, Smoothed Particles: A New Paradigm for Animating Highly Deformable Bodies, Eurographics Workshop on Computer Animation and Simulation (EGCAS), pp.61-76. 1996.
  • Dan Koschier, Jan Bender. Smoothed Particle Hydrodynamics Techniques for the Physics Based Simulation of Fluids and Solids, Eurographics Tutorial 2019.
  • Muller M, Charypar D, Gross M. Particle-based fluid simulation for interactive applications, Proceedings of the 2003 ACM SIGGRAPH/Eurographics symposium on Computer animation. Eurographics Association, 2003: 154-159.

Readme

Keywords

Package Sidebar

Install

npm i tsmathlib

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

127 kB

Total Files

55

Last publish

Collaborators

  • raymondmg