Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. sln=expression /.Solve[...];
  2. list= SetAccuracy[N[sln],2]]
  3.  
  4. GatherBy[SortBy[list, Norm], Norm]
  5.  
  6. SplitBy[SortBy[list, Norm], Norm]
  7.  
  8. FullForm[list]= !(
  9. TagBox[
  10. StyleBox[
  11. RowBox[{"List", "[",
  12. RowBox[{
  13. RowBox[{"List", "[",
  14. RowBox[{"0``2.", ",", "0``2."}], "]"}], ",",
  15. RowBox[{"List", "[",
  16. RowBox[{"0.5`1.6989700043360187", ",",
  17. "0.86602540378443859658830206171842291951`1.93753063169585"}],
  18. "]"}], ",",
  19. RowBox[{"List", "[",
  20. RowBox[{"0.5`1.6989700043360187", ",",
  21. RowBox[{"-",
  22. "0.86602540378443859658830206171842291951`1.93753063169585"}]
  23. }], "]"}], ",",
  24. RowBox[{"List", "[",
  25. RowBox[{
  26. RowBox[{"-", "1.`2."}], ",", "0``2."}], "]"}]}], "]"}],
  27. ShowSpecialCharacters->False,
  28. ShowStringCharacters->True,
  29. NumberMarks->True],
  30. FullForm])
  31.  
  32. GatherBy[SortBy[a, Norm], Norm] == SplitBy[SortBy[a, Norm], Norm]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement