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.

Files for sg_helper, version 0.0.0
Filename, size File type Python version Upload date Hashes
Filename, size sg_helper-0.0.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page