Skip to content

add

const add: (…args) => any

Defined in: ops.js:231

Sum of two or more operands, elementwise, broadcasting a scalar against anything and a vector against the rows of a matrix.

Parameters

args

…any[]

Returns

any

Example

const mu = add(intercept, mul(slope, X), seasonOffset);