StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics
https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
.. | ||
LICENSE.md | 4 years ago | |
README.md | 4 years ago | |
index.js | 4 years ago | |
normalize.js | 4 years ago | |
package.json | 4 years ago | |
test-decompose.js | 4 years ago | |
test-normalize.js | 4 years ago |
README.md
mat4-decompose
Decomposes a 3D matrix, useful for animations. Code ported from W3 CSS Spec. PRs for more tests/robustness/optimizations welcome.
Order:
- first isolates perspective
- then determines translation
- then determines X scale, XY shear, Y scale, XZ and YZ shear, and Z scale
- then determines quaternion rotation
You may also be interested in mat4-interpolate, mat4-recompose, and css-mat4.
Usage
valid = decompose(matrix[, translation, scale, skew, perspective, quaternion])
Decomposes the given matrix
(an array of 16 floats, like those gl-matrix operates on), storing the results into the specified optional vectors.
translation
[x, y, z]scale
[x, y, z]skew
[xy, xz, yz] skew factorsperspective
[x, y, z, w]quaternion
[x, y, z, w]
Returns false
is this matrix cannot be decomposed, true
otherwise.
License
MIT, see LICENSE.md for details.