Without: Difference between revisions

From NARS2000
Jump to navigationJump to search
(New page: <table border="1" cellpadding="5" cellspacing="0" rules="none" summary=""> <tr> <td> <table border="0" cellpadding="5" cellspacing="0" summary=""> <tr> <td><apll>Z←L~R</a...)
 
No edit summary
Line 4: Line 4:
     <table border="0" cellpadding="5" cellspacing="0" summary="">
     <table border="0" cellpadding="5" cellspacing="0" summary="">
     <tr>
     <tr>
       <td><apll>Z←L~R</apll></td>
       <td valign="top"><apll>Z←L~R</apll></td>
       <td></td>
       <td></td>
       <td></td>
       <td></td>

Revision as of 01:23, 8 May 2008

Z←L~R returns a subset of L consisting of those elements in L which do not occur in R.
L is a scalar or vector, else signal RANK ERROR.
R is an arbitrary array.
Z is a vector identical to (~L∊R)/L.
The result is sensitive to ⎕CT.


This feature is implemented by an internal magic function:

    ∇ Z←L #DydTilde R
[1]   Z←(~L∊R)/L
    ∇