zeros#

static vectorious.zeros()#

Creates an array containing zeros (0) of shape shape

Arguments:
  • ...shape (Array.<Number>)

Returns:

NDArray

Examples:

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

zeros(3); // => array([0, 0, 0])