floor#

static vectorious.floor(x)#

Returns the largest integer less than or equal to a number of each element of x.

Arguments:
Returns:

NDArray

Examples:

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

floor([1.5, 2.5, 3.5]); // => array([1, 2, 3])