Getting Started with NMath

We are often asked how to get started with using NMath. This has gotten much simpler over the years. Here’s the quickest way to get going…

  1. Install Visual Studio Code.
  2. Create a folder.
  3. Open the folder with File|Open.
  4. View|Terminal to bring up a command-line.
  5. In the terminal window, type dotnet new console to create a new project. You’ll see it creates a .csproj file and a Program.cs.
  6. dotnet add package CenterSpace.NMath.Standard.Windows.X64 to add NMath.
  7. Write some code in Program.cs.
  8. Compile using dotnet build.
  9. Run using dotnet run.

Leave a Reply

Your email address will not be published. Required fields are marked *

Top