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.
17 lines
357 B
17 lines
357 B
4 years ago
|
module.exports = fromValues;
|
||
|
|
||
|
/**
|
||
|
* Creates a new vec3 initialized with the given values
|
||
|
*
|
||
|
* @param {Number} x X component
|
||
|
* @param {Number} y Y component
|
||
|
* @param {Number} z Z component
|
||
|
* @returns {vec3} a new 3D vector
|
||
|
*/
|
||
|
function fromValues(x, y, z) {
|
||
|
var out = new Float32Array(3)
|
||
|
out[0] = x
|
||
|
out[1] = y
|
||
|
out[2] = z
|
||
|
return out
|
||
|
}
|