nan-min ( seq -- n )


Vocabulary
math.extras

Inputs and outputs
seqa sequence
na number


Word description
Return the infimum of seq ignoring any NaNs.

Definition
USING: kernel math sequences ;

IN: math.extras

: nan-min ( seq -- n ) [ fp-nan? not ] filter infimum ;