Skip to main content

A numpy interface for the SG++ adaptive sparse grids library

Project description

SGHelper: a numpy interface for the SG++ adaptive sparse grids library

Requires the SG++ library of Dirk Pflueger, which can be found at http://sgpp.sparsegrids.org/.

This module provides a class SGHelper for easy interface with SG++ capabilities using numpy arrays. Functions can be approximated on arbitrary cubes by providing lower and upper bounds for each argument. The constructor for the class automatically creates a grid that is refined to a set tolerance. The grid can then be used to evaluate the function on a numpy array of points. Each column should be one input point.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sg_helper-0.0.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page