https://github.com/numericalalgorithmsgroup/nagcpp
C++ Interfaces for the nAG Library
https://github.com/numericalalgorithmsgroup/nagcpp
Last synced: 4 months ago
JSON representation
C++ Interfaces for the nAG Library
- Host: GitHub
- URL: https://github.com/numericalalgorithmsgroup/nagcpp
- Owner: numericalalgorithmsgroup
- Created: 2019-09-30T13:58:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-07-24T11:10:14.000Z (11 months ago)
- Last Synced: 2026-01-28T16:33:40.254Z (5 months ago)
- Language: C++
- Homepage:
- Size: 707 KB
- Stars: 19
- Watchers: 6
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# C++ Interfaces for the NAG Library
This is version 31.1.0.0 of a set of C++ interfaces for the NAG Library,
supplied as a series of header files.
In order to make use of this product you will need a copy of
[Mark 31.1 of the NAG Library](https://www.nag.com/content/nag-library)
installed on your system.
Currently only interfaces for a small subset of routines from the NAG Library
are available in this form. These interfaces are automatically generated, and
their primary purpose is to elicit feedback on their design prior to rolling
the process out across the whole library.
## Quick Start
Please visit the
[NAG Library for C++ landing page](https://www.nag.com/content/nag-library-c-plusplus)
for quick-start information and more details on the examples supplied in the
distribution.
## Basic Documentation
Assuming that you have installed the C++ interfaces into the directory called
`[NAGCPP_INSTALL_DIR]` then you should have four subdirectories:
* `[NAGCPP_INSTALL_DIR]/include`
Contains the C++ wrappers and all required utility headers.
* `[NAGCPP_INSTALL_DIR]/examples`
Contains a sample of examples calling the interfaces.
* `[NAGCPP_INSTALL_DIR]/tests`
Contains a series of unit tests that have been used to test the supplied
wrappers.
* `[NAGCPP_INSTALL_DIR]/scripts`
Contains a number of Linux scripts for compiling and running the examples
and unit tests. These scripts can also be run from WSL or Cygwin. Before
running any of these scripts you should ensure that your environment is set
up correctly by, for example, running either `envvars.bat`, `nagvars.sh` or
`nagvars.csh`, supplied with the NAG Library. Which is supplied / required
depends on whether you are on Windows or Linux and, if on Linux, which shell
you are using.
When using the C++ interfaces supplied with this readme you will need to add
the directory `[NAGCPP_INSTALL_DIR]/include` to the list of directories your
compiler searches for header files in addition to using any compiler flags
usually required by the NAG Library (as specified in the Users' Notes supplied
with your version of the library and also available from the NAG website at
https://support.nag.com/content/nagr-library-mark-31).
## Full Documentation for the C++ Interfaces
A more comprehensive set of documentation is available from the NAG website:
https://support.nag.com/numeric/nl/nagdoc_31.1/cpphtml/frontmatter/manconts.html