symbolica.community.spenso Python API

symbolica.community.spenso · version 0.1.2

Choose a public class, function, or constant below. Each symbol has its own page with a conventional signature-first layout, flat member sections, stable links, and source-backed details.

API inventory

The generated inventory distinguishes the supported module API from names that are merely reachable through the extension.

26supported exportsone page per supported class, function, or constant
1implementation-detail exportschecked for drift but intentionally omitted from the public reference

Ordered Python module exports

Exports registered by spynso3.

ClassBroadcastFunction

A unary Symbolica function whose action is broadcast over tensor entries.

7 members
ClassDisplaySettings

Presentation settings shared by Typst source, HTML, and SVG rendering.

11 members
ClassPortPattern

A Symbolica expression representing one tensor port in a rewrite pattern.

4 members
ClassRepresentation

A representation in the sense of group representation theory for tensor indices.

19 members
ClassSlot

A tensor index slot combining a representation with an abstract index.

5 members
ClassTensor

A tensor class that can be either dense or sparse with flexible data types.

38 members
ClassTensorEvaluator

An optimized evaluator for symbolic tensor expressions.

3 members
ClassTensorExpression

A Symbolica expression with an ordered external tensor interface.

90 members
ClassTensorFunctionLibrary

A registry of elementwise tensor functions used during network evaluation.

1 member
ClassTensorLibrary

A library for registering and managing tensor templates and structures.

5 members
ClassTensorName

A symbolic name for tensor expressions.

16 members
ClassTensorNetwork

A graph of tensor operations that can be simplified and executed.

34 members
ClassTensorPattern

A tagged Symbolica expression intended for tensor rewrite rules.

11 members
ClassExecutionMode

Execution modes for tensor network evaluation.

3 members
ClassSymbolicParallelism

Policy for Rayon operations that manipulate Symbolica expressions.

3 members
Functionas_tensor

Restore tensor-aware dispatch after a base Symbolica transformation.

Functionchain

Build an explicitly-ended ordered tensor chain.

Functiondot

Contract two rank-one tensors into the canonical dot form.

Functionformat_tensor

Format a tensor expression using compact Spenso notation.

Functionformatted

Build Symbolica's rich display wrapper for a tensor expression.

Functionto_html

Render a tensor expression to semantic HTML through the optional Typst runtime.

Functionto_svg

Render a tensor expression to an SVG string through the optional Typst runtime.

Functionto_typst

Format a tensor expression as Typst math source.

Functiontrace

Close an ordered factor sequence into a canonical cyclic trace.