(rontolisp) docs
← Functions

linalg:zeros

(linalg:zeros shape)

Creates a zero-filled array. shape is an integer for a rank-1 vector of that length, or a list of two integers (rows cols) for a rank-2 matrix -- the same shape convention used by linalg:ones and linalg:full. See the linalg guide for an overview of the package.