API Reference#

Reference documentation for the Einsums C++ library and the Einsums Python package. Both references are generated directly from the C++ headers by the apiary libclang tool, so they always track the sources.

C++ API#

The C++ reference has one page per class, concept, and function overload set, organized per module. The library modules overview holds the narrative documentation of each module.

Python API#

Reference for the Einsums Python package (import einsums). The bulk of the API reference is generated from the C++ binding annotations, so it always tracks the bound surface. On top of that, a thin pure-Python NumPy-parity layer adds the array conveniences documented in the ergonomics page.

The generated Python API reference is grouped by submodule. It documents every bound class, function, enum, property, and the codegen-synthesized subscript/iterator protocols. The tensor ergonomics page documents the pure-Python convenience layer installed on the runtime tensor and view classes.