Guest User

Untitled

a guest
Nov 23rd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <|"x"->{... big list ...},....|>
  2.  
  3. x:[xMinValue,xMaxValue] (where xMinValue=Min[{..Big List...}]...)
  4.  
  5. Format[f[x_?ListQ]] :=
  6. "f[x], x:[" <> ToString[Min[x]] <> ", " <> ToString[Max[x]] <> "]"
  7.  
  8. In[2]= f[Range[20]]]
  9.  
  10. Out[2]= f[x], x:[1, 20]
  11.  
  12. In[3]= Format[<|x_?ListQ|>] :=
  13. "x:[" <> ToString[Min[x]] <> ", " <> ToString[Max[x]] <> "]"
Add Comment
Please, Sign In to add comment