fill#

static vectorious.fill(x, value)#

Fills x with a scalar value

Arguments:
Returns:

NDArray

Examples:

import { fill } from 'vectorious/core/fill';

fill([1, 2, 3], 0); // => array([0, 0, 0])