I am trying to teach myself f#. For a program I am working on, I want to compare individual elements of 2 matrices, point wise. The matrices are both of size 1*N. The reason these are matrices is because they are the result of previous computations, performed using the standard F# PowerPack. I am happy to convert them to some other collection after these computations or use some other Matrix math library. What I need is a function that takes 2 matrices (which are essentially vectors) and outputs a List of index positions where the 2 vectors are not equal.
For example: Input: [[5;6;7;8;9]]; [[3;6;3;8;3]] Output: [1;3;5]
My brain still thinks very much in the imperative style and I haven't quite got my head around pattern matching yet!