This project is read-only.

When to use ILNumerics/MathNet.Iridium

Mar 23, 2011 at 9:44 AM

In some cases, there is an inefficiency involved in using ILNumerics or MathNet.Iridium algorithms, due to the data re-organisation that may be required on inputs and/or outputs.

Therefore, I'm proposing the following guidelines for deciding whether to use these libraries for a particular function:

  • If the overhead is negligible in comparison to the procesing time then use the library function that exists, else
  • If the function is trivial then it's probably best to re-implement it, else
  • If the function is complicated then use the library function and add a comment to the code that it is sub-optimal and open a dialogue with the library developers to find out if they will consider an API change/extension.

The functions marked as sub-optimal can be revisited later to improve their performance.

I look forward to your comments on the above