set_namespace

Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.

set_namespace

set_namespace(namespace: str) -> None

Set the Symbolica namespace for the calling module. All subsequently created symbols in the calling module will be defined within this namespace.

This function sets the SYMBOLICA_NAMESPACE variable in the global scope of the calling module.

Parameters

  • namespace (str) The namespace to set for subsequently created symbols.