matrix_arg_to_offset/3

"matrix_arg_to_offset(+ Matrix,+ Position,- Offset" )

Given matrix Matrix return what is the numerical Offset of the element at Position.