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