Basic Examples (5)
Basic Examples
(5)
Take two numbers larger than the specified value in a list:
In[1]:=
list={1,3,5,4}
Out[1]=
{1,3,5,4}
In[2]:=
Out[2]=
{4,5}
Do the same using the operator form of :
TakeLarger
In[3]:=
list//[3,2]
Out[3]=
{4,5}
In[4]:=
Out[4]=
{4,5}
———
Take the smallest two values larger then the specified threshold in an association:
In[1]:=
Out[1]=
e4,d5
———
Take the smallest four numbers larger than the specified value, or as many as are available:
In[1]:=
Out[1]=
{4,7}
———
Take all numbers larger than a threshold:
In[1]:=
Out[1]=
{4,5,7}
———
Take two values in a list of objects:
In[1]:=
Out[1]=
,
Scope (3)
Scope
(3)