etendren has raised the following issue:
"One problem.
In matlab this function is oriented to indexing from 1 but no from 0. When in ILNumerics  from 0..
Now I commited it with indexing from 1, folloing matlab discription. But I thing it is not appropriate if we globally use arrays indexed from 0."
I agree and think that attempting to emulate the 1based indexing of matlab when the underlying arrays in the language (C#) are all 0based will cause problems and that therefore we should always assume zerobased indexing.
Any thoughts?
