{"name":"gl-mat2","version":"1.0.0","description":"gl-matrix's mat2, split into smaller pieces","main":"index.js","license":{"type":"zlib","url":"http://github.com/gl-modules/gl-mat2/blob/master/LICENSE.md"},"scripts":{"get-docs":"cat *.js | dox --api"},"contributors":[{"name":"Brandon Jones","email":"tojiro@gmail.com"},{"name":"Colin MacKenzie IV","email":"sinisterchipmunk@gmail.com"},{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"}],"dependencies":{},"devDependencies":{"dox":"git://github.com/hughsk/dox#api-context"},"repository":{"type":"git","url":"git://github.com/gl-modules/gl-mat2.git"},"keywords":["gl-matrix","matrix","maths"],"homepage":"https://github.com/gl-modules/gl-mat2","bugs":{"url":"https://github.com/gl-modules/gl-mat2/issues"},"gitHead":"5f1dda2c734c183ad6dbee676a73e07de17c7dda","_id":"gl-mat2@1.0.0","_shasum":"22c06f06bbc141a8bfac7d8573f5528f1de29d46","_from":".","_npmVersion":"1.4.13","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"dist":{"shasum":"22c06f06bbc141a8bfac7d8573f5528f1de29d46","tarball":"http://registry-npm.ywwl.com/gl-mat2/download/gl-mat2-1.0.0.tgz","integrity":"sha512-C0diu/xzGmOJqAX2p/3WfvqxlKt6DSHiiepscK2eISG/RUwoWXe30yh6Ab5MDBvFP2pGKvsl9fNMlJUEHHljBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCygHfDRaRzLEVEkF3VLkHvtmh59PvC5u6MlIy8gKsrqgIgB3iZT3i7mCeZ+XsdWn/Sd/A9nMN9uwsHikH1AZFLSiw="}],"size":3447,"noattachment":false,"key":"/gl-mat2/-/gl-mat2-1.0.0.tgz"},"directories":{},"readme":"# gl-mat2 [![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)\n\nPart of a fork of [@toji](http://github.com/toji)'s\n[gl-matrix](http://github.com/toji/gl-matrix) split into smaller pieces: this\npackage contains `glMatrix.mat2`.\n\n## Usage\n\n[![NPM](https://nodei.co/npm/gl-mat2.png)](https://nodei.co/npm/gl-mat2/)\n\n### `mat2 = require('gl-mat2')`\n\nWill load all of the module's functionality and expose it on a single\nobject. Note that any of the methods may also be required directly\nfrom their files.\n\nFor example, the following are equivalent:\n\n``` javascript\nvar scale = require('gl-mat2').scale\nvar scale = require('gl-mat2/scale')\n```\n\n## API\n\n  - [mat2.adjoint()](#mat2adjointoutmat2amat2)\n  - [mat2.copy()](#mat2copyoutmat2amat2)\n  - [mat2.create()](#mat2create)\n  - [mat2.determinant()](#mat2determinantamat2)\n  - [mat2.frob()](#mat2frobamat2)\n  - [mat2.identity()](#mat2identityoutmat2)\n  - [mat2.invert()](#mat2invertoutmat2amat2)\n  - [mat2.ldu()](#mat2ldulmat2dmat2umat2amat2)\n  - [mat2.multiply()](#mat2multiplyoutmat2amat2bmat2)\n  - [mat2.rotate()](#mat2rotateoutmat2amat2radnumber)\n  - [mat2.scale()](#mat2scaleoutmat2amat2vvec2)\n  - [mat2.transpose()](#mat2transposeoutmat2amat2)\n\n### `mat2.adjoint(out:mat2, a:mat2)`\n\n  Calculates the adjugate of a mat2\n\n### `mat2.copy(out:mat2, a:mat2)`\n\n  Copy the values from one mat2 to another\n\n### `mat2.create()`\n\n  Creates a new identity mat2\n\n### `mat2.determinant(a:mat2)`\n\n  Calculates the determinant of a mat2\n\n### `mat2.frob(a:mat2)`\n\n  Returns Frobenius norm of a mat2\n\n### `mat2.identity(out:mat2)`\n\n  Set a mat2 to the identity matrix\n\n### `mat2.invert(out:mat2, a:mat2)`\n\n  Inverts a mat2\n\n### `mat2.ldu(L:mat2, D:mat2, U:mat2, a:mat2)`\n\n  Returns L, D and U matrices (Lower triangular, Diagonal and Upper triangular) by factorizing the input matrix\n\n### `mat2.multiply(out:mat2, a:mat2, b:mat2)`\n\n  Multiplies two mat2's\n\n### `mat2.rotate(out:mat2, a:mat2, rad:Number)`\n\n  Rotates a mat2 by the given angle\n\n### `mat2.scale(out:mat2, a:mat2, v:vec2)`\n\n  Scales the mat2 by the dimensions in the given vec2\n\n### `mat2.transpose(out:mat2, a:mat2)`\n\n  Transpose the values of a mat2\n\n## License\n\n[zlib](http://en.wikipedia.org/wiki/Zlib_License). See [LICENSE.md](https://github.com/stackgl/gl-mat2/blob/master/LICENSE.md) for details.\n","publish_time":1405588440991,"_cnpm_publish_time":1405588440991,"dist-tags":{"latest":"1.0.1"}}