Handbook
Glossary
leading ( seq -- n elt )
Vocabulary
math
.
matrices
.
elimination
Inputs
seq
a
sequence
Outputs
n
the index of the first match, or
f
.
elt
the first non-zero element, or
f
.
Word description
Find the first non-zero element of a sequence.
Definition
USING:
kernel
math
sequences
;
IN:
math.matrices.elimination
:
leading
( seq -- n elt )
[
zero?
not
]
find
;