In Python Numpy, the array.sum enables to specify axis over which the sum is taken for elements.
For example,
1 2 

will give
1


In F# we can do that with FSharp.PowerPack.
Let us define a method to perform the above feature
1 2 3 

Let us apply the above function into a matrix
1 2 

will give
1

