Skip to main content

Timeline for Manipulating list of matrices

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Oct 11, 2014 at 6:54 comment added HuShu Thanks! wow! I couldn't find any such thing on the online Mathematica resources!
Oct 11, 2014 at 6:47 comment added RunnyKine @NilanjanBanik, The {2} enables you to go into each row of each matrix and Apply the EuclideanDistance on that row. It's equivalent to looping without explicitly using a loop.
Oct 11, 2014 at 6:41 comment added HuShu Thanks a lot. But, could you explain the use of the {2} in "dist = Apply[EuclideanDistance[{#3, #4, #5}, {0, 0, 0}] &, mat, {2}]" , I read about the command Apply, but never came across such a line.
Oct 11, 2014 at 5:42 vote accept HuShu
Oct 10, 2014 at 23:52 history edited RunnyKine CC BY-SA 3.0
added 4190 characters in body
Oct 10, 2014 at 23:44 history answered RunnyKine CC BY-SA 3.0