Getting Started

Get started with any of the following environments:

Package Reference

To use Mathematics.NET in your C# project, add the following line to your .csproj file:

<PackageReference Include="Mathematics.NET" Version="*" />

File-Based Apps

To use Mathematics.NET in a file-based app, add the following line to the top of the file:

#:package Mathematics.NET@*

Optional Package

It is also recommended that users add the source generators package, which helps with code generation and provides diagnostic messages. As a package reference, use

<PackageReference Include="Mathematics.NET.SourceGenerators" Version="*" />

and in a file-based app, use

#:package Mathematics.NET.SourceGenerators@*