This project has moved. For the latest updates, please go here.

Installing and Using Meta.Numerics

Here are step-by-step instructions for installing and using the Meta.Numerics library.

#1 Set up your development environment. Meta.Numerics is a library for programmers, not end-users. If you are an experienced Windows programmer, you probably already have Visual Studio or an alternative .NET development platform. If you are just starting out, you can download the Express Edition of Visual Studio for free. If you are a Linux or OS X programmer, you can use Meta.Numerics with the Mono framework.

#2 Get Meta.Numerics. Go to the Meta.Numerics download page and click on "MSI Installer". Agree to the license terms and run the installer. (Depending on your browser and security settings, you may need to give your approval in several dialog boxes.) The MSI installer is the most convenient way to install Meta.Numerics for the typical user: it puts the assembly and documentation in a folder named "Meta.Numerics" in your Program Files directory, registers the library with Visual Studio and the GAC, and allows for easy removal using Windows' "Add and Remove Programs" control panel. If you are on an non-Windows platform, or prefer not to grant the Meta.Numerics installer the administrative privleges it requires, you can obtain the same content, albiet not as conveniently set up, by clicking on the "ZIP Package" instead. The ZIP package consists of a ZIP file whose contents can by extracted by right-clicking and choosing "Extract All...".

#3 Add a reference to Meta.Numerics. Open an existing .NET project that you want to use Meta.Numerics for, or create a new one (using File > New > Project in Visual Studio). Right click "References" for the project in the Solution Explorer planel, and choose "Add Reference..." as shown below. If Meta.Numerics was installed using the MSI installer (and Visual Studio has been re-started so that it re-reads the list of registered assemblies), you can find the Meta.Numerics library in the .NET panel of the Add Reference dialog. Otherwise, you can browse to the location of Meta.Numerics.dll using the Browse panel of the dialog. (Finally, if you are using the NuGet package management system, you can choose "Add Library Package Reference..." instead of "Add Reference..." and then select Meta.Numerics from the NuGet online cache; this even allows you to skip the "Get Meta.Numerics" step above!)
AddReference.png

#4 Use Meta.Numerics. In your program's code file, add a reference to the Meta.Numerics namespace you want to use. (In C#, this is done with a "using" statement. In VB, it is done with an "Imports" statement. In F#, it is done with an "open" statement.) Then start writing code usng Meta.Numerics types and methods. Visual Studio's Intellisense system should provide you with some guidance, as illustrated in the screen capture below. For more guidance, see other Documentation topics and the Meta.Numerics reference documentation, which is available online and as a CHM file installed with Meta.Numerics.
Coding.png

Last edited Apr 7, 2011 at 3:39 AM by ichbin, version 7

Comments

No comments yet.