Menu

OpenSourcePhysics in NumericalRecipesCSharp

2013-11-15
2013-11-16
  • Thomas Ligon

    Thomas Ligon - 2013-11-15

    Hi,

    Thanks for the nice code!
    I see that the project (NumericalRecipesCSharp.csproj) contains a reference to a project called OpenSourcePhysics. In addition, I am getting a compiler error because "Complex" is missing.

    Where can I get the missing pieces (OpenSourcePhysics)?
    I searched the Internet and found http://www.opensourcephysics.org/, but that is focused on educational software and offering an Eclipse/Java environment, so it doesn't look like what I need here.

    Thanks,
    Tom

     
  • Thomas Ligon

    Thomas Ligon - 2013-11-16

    I might have found my own solution for this.
    I replaced
    using opensourcephysics.numerics;
    by
    using System.Numerics;
    That required a reference to system.numerics.dll in the .Net framework.
    Compilation works, and if the type Complex is compatible, then the code should work as well.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.