{"_id":"gl-mat2","_rev":"812472","name":"gl-mat2","description":"gl-matrix's mat2, split into smaller pieces","dist-tags":{"latest":"1.0.1"},"maintainers":[{"email":"me@mikkoh.com","name":"mikkoh"},{"email":"tatum.creative@gmail.com","name":"tatumcreative"},{"email":"wwwtyro@gmail.com","name":"wwwtyro"},{"email":"syed.reza.ali@gmail.com","name":"rezaali"},{"email":"mikolalysenko@gmail.com","name":"mikolalysenko"},{"email":"chris@neversaw.us","name":"chrisdickinson"},{"email":"dave.des@gmail.com","name":"mattdesl"},{"email":"substack@gmail.com","name":"substack"},{"email":"hughskennedy@gmail.com","name":"hughsk"},{"email":"thibaut.seguy@gmail.com","name":"thibauts"},{"email":"i@yoshuawuyts.com","name":"yoshuawuyts"}],"time":{"modified":"2024-07-02T13:48:15.000Z","created":"2014-07-17T09:14:00.991Z","1.0.1":"2017-09-03T22:11:30.083Z","1.0.0":"2014-07-17T09:14:00.991Z"},"users":{},"repository":{"type":"git","url":"git://github.com/gl-modules/gl-mat2.git"},"versions":{"1.0.1":{"name":"gl-mat2","version":"1.0.1","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.git#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":"d6a04d55d605150240dc8e57ca7d2821aaa23c56","_id":"gl-mat2@1.0.1","_shasum":"142505730a5c2fe1e9f25d9ece3d0d6cc2710a30","_from":".","_npmVersion":"4.6.1","_nodeVersion":"6.3.1","_npmUser":{"name":"substack","email":"substack@gmail.com"},"dist":{"shasum":"142505730a5c2fe1e9f25d9ece3d0d6cc2710a30","tarball":"http://registry-npm.ywwl.com/gl-mat2/download/gl-mat2-1.0.1.tgz","integrity":"sha512-oHgZ3DalAo9qAhMZM9QigXosqotcUCsgxarwrinipaqfSHvacI79Dzs72gY+oT4Td1kDQKEsG0RyX6mb02VVHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHawhLi+Bx3CTDjyLhCBFaR5bbOY8OmWmg7Q4zmeTsdAiEAk+nAPExyB9ArXigRAi0/WBbQRmtZ3jlIWFnQp4JmJmg="}],"size":3382,"noattachment":false,"key":"/gl-mat2/-/gl-mat2-1.0.1.tgz"},"maintainers":[{"email":"me@mikkoh.com","name":"mikkoh"},{"email":"tatum.creative@gmail.com","name":"tatumcreative"},{"email":"wwwtyro@gmail.com","name":"wwwtyro"},{"email":"syed.reza.ali@gmail.com","name":"rezaali"},{"email":"mikolalysenko@gmail.com","name":"mikolalysenko"},{"email":"chris@neversaw.us","name":"chrisdickinson"},{"email":"dave.des@gmail.com","name":"mattdesl"},{"email":"substack@gmail.com","name":"substack"},{"email":"hughskennedy@gmail.com","name":"hughsk"},{"email":"thibaut.seguy@gmail.com","name":"thibauts"},{"email":"i@yoshuawuyts.com","name":"yoshuawuyts"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gl-mat2-1.0.1.tgz_1504476689947_0.5208562214393169"},"directories":{},"publish_time":1504476690083,"_cnpm_publish_time":1504476690083},"1.0.0":{"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":{},"publish_time":1405588440991,"_cnpm_publish_time":1405588440991}},"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","_attachments":{},"homepage":"https://github.com/gl-modules/gl-mat2","bugs":{"url":"https://github.com/gl-modules/gl-mat2/issues"},"license":{"type":"zlib","url":"http://github.com/gl-modules/gl-mat2/blob/master/LICENSE.md"}}