How To Apply a Function to an Array of float Arrays?
问题 Let's suppose I have n arrays, where n is a variable (some number greater than 2, usually less than 10). Each array has k elements. I also have an array of length n that contains a set of weights that dictate how I would like to linearly combine all the arrays. I am trying to create a high performance higher order function to combine these arrays in F#. How can I do this, so that I get a function that takes an array of arrays (arrs is a sample), a weights array (weights), and then computed a