rows-except ( matrix desc -- others ) - Factor Documentation

rows-except ( matrix desc -- others )
Matrix operations



Vocabulary
math .matrices

Inputs
matrix a matrix
desc an integer or a sequence


Outputs
others a matrix


Generic word contract
Get all the rows from matrix not described by desc.

Examples
USING: math.matrices prettyprint ; { { 2 7 12 2 } { 8 9 10 0 } { 1 3 3 5 } { 8 13 7 12 } } { 1 3 } rows-except .
{ { 2 7 12 2 } { 1 3 3 5 } }


Definition
IN: math.matrices

GENERIC: rows-except ( matrix desc -- others )


Methods
USING: math math.matrices math.matrices.private ;

M: integer rows-except scalar-except-quot simple-rows-except ;


USING: math.matrices math.matrices.private sequences ;

M: sequence rows-except
sequence-except-quot simple-rows-except ;

AltStyle によって変換されたページ (->オリジナル) /