gvar Documentation — gvar 13.1.10 documentation

Python library for Gaussian random variables and numerical analysis with uncertainty quantification

What it is

gvar is an open source Python library designed for working with Gaussian random variables and performing numerical analysis with built-in uncertainty propagation. The library provides a comprehensive framework for creating and manipulating Gaussian variables through the gvar.GVar object, which supports arithmetic operations, mathematical functions, and error budgeting while automatically tracking correlations between variables.

This description was generated by AI from the site's public content and may contain errors.

What you can do there

  • Browse comprehensive API documentation for gvar and gvar.dataset modules
  • Learn Gaussian variable creation and arithmetic through tutorials
  • Explore numerical analysis case studies with uncertainty propagation
  • Access error budgeting and correlation analysis tools
  • Download and install the open source Python package

Who it's for

Scientific researchers, computational physicists, data scientists, and Python developers working with uncertainty quantification

Frequently asked questions about gvar Documentation — gvar 13.1.10 documentation

›What is gvar used for?

gvar is used for uncertainty quantification in scientific computing, allowing researchers to propagate errors through complex calculations while maintaining correlation information between variables.

›How does gvar handle correlations between variables?

The gvar.GVar object automatically tracks and maintains correlations between variables during arithmetic operations and function evaluations, ensuring accurate error propagation.

›What numerical analysis modules are included?

The library includes modules for cubic splines, linear algebra, ordinary differential equations, one-dimensional integration, Pade approximants, power series, and root finding.

›Is gvar suitable for non-Gaussian distributions?

While focused on Gaussian variables, gvar provides sampling capabilities and tools for computing expectation values that can handle some non-Gaussian scenarios through Monte Carlo methods.

›How do I install gvar?

gvar can be installed via pip from PyPI as a standard Python package, with documentation hosted on ReadTheDocs for version 13.1.10.

›What are the main dependencies?

The library requires standard scientific Python packages and uses Sphinx for documentation generation, with the core functionality built on NumPy for numerical operations.

›Can gvar store and retrieve variables for later use?

Yes, gvar provides formatting and storage capabilities for GVar objects, allowing them to be saved and loaded for continued analysis in subsequent sessions.