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.
StackGenVis/frontend/node_modules/gl-mat3/from-mat2.js

26 lines
397 B

4 years ago
module.exports = fromMat2d
/**
* Copies the values from a mat2d into a mat3
*
* @alias mat3.fromMat2d
* @param {mat3} out the receiving matrix
* @param {mat2d} a the matrix to copy
* @returns {mat3} out
**/
function fromMat2d(out, a) {
out[0] = a[0]
out[1] = a[1]
out[2] = 0
out[3] = a[2]
out[4] = a[3]
out[5] = 0
out[6] = a[4]
out[7] = a[5]
out[8] = 1
return out
}