Interfacing octave with C#

后端 未结 5 2024
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 18:09

I have developed a program in Octave to which I would like to add a GUI layer. I want to create an executable program in C# that I can distribute but want to stick with the

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-15 18:44

    There are lots of math libraries for c#. Math.NET Numerics seems to be a good free alternative. There are also commercial implementations.

    Another alternative is to call Octave with Process.Start and parse the output. This saves you from rewriting your calculations but you need to able do bundle Octave with your application. If you want to tightly mix c# and math code this will be a quite complicated, but if your math code is a big calculation with a single set of inputs and a single set of outputs it might be a good alternative.

提交回复
热议问题