Skip to main content
2 of 4
deleted 137 characters in body
DavidC
  • 25.4k
  • 2
  • 52
  • 105

#Mathematica 10

m[[#, #2]] &

Usage

m = {{13, 10, 4, 0}, {3, 12, 7, 8}, {15, 1, 14, 6}, {9, 2, 11, 5}}
m[[#, #2]]&[2,3]

7

DavidC
  • 25.4k
  • 2
  • 52
  • 105