Functions

f
find(x: array<boolean | number> | matrix<boolean | number>): array

Finds the indices of nonzero (true) elements in an array or matrix.

Usage

import * as mod from "matarrs/find.ts";