Skip to content
ααLoop docs

Start here

OverviewBuild your first Spenso tensor

Getting started

Using Spenso from PythonUsing Spenso from Rust

Tutorial

Your first tensor workflow

Guides

Tensor networksPython tensor workflows

Reference

Rust, macros, and PythonReference overviewPython APIRust API

symbolica.community.spenso symbols

Module overviewBroadcastFunctionCompiledTensorEvaluatorDisplaySettingsPortPatternRepresentationSlotTensorTensorEvaluatorTensorExpressionTensorFunctionLibraryTensorLibraryTensorNameTensorNetworkTensorPatternExecutionModeSymbolicParallelismas_tensor-functionchain-functiondot-functionformat_tensor-functionformatted-functionset_symbolica_rayon_enabled-functionto_html-functionto_svg-functionto_typst-functiontrace-function

Version history

Version historySpenso versionsSpenso macros versionsSpenso HEP library versionsSpynso3 versions

For developers

Architecture & engineering notes

Spenso
latest
Download PDF

Spenso / Python API / symbolica.community.spenso.to_typst

to_typst

symbolica.community.spenso / Function

All module symbolsPython interface guidePython tensor workflow
to_typst(expression: Expression, show_dimensions: Optional[bool] = None, *, settings: Optional[DisplaySettings] = None) -> str

Format a tensor expression as Typst math source.

View generated signature source: docs/api/python/spynso3.pyi:2267

Type-checker stub

Download spynso3.pyi. The module index links every supported public symbol.

Previous symbolto_svgNext symboltrace
View generated type stub at this revision ↗Report a documentation issue ↗
latest · Complete PDF manual · documented revision ff533fcd91d8