TensorFunctionLibrary

TensorFunctionLibrary

TensorFunctionLibrary()

Methods

Name Description
__new__ Create a new empty tensor function library

__new__

TensorFunctionLibrary.__new__() -> TensorFunctionLibrary

Create a new empty tensor function library.

Initializes an empty library ready for registering tensor functions.

Returns

  • TensorFunctionLibrary A new empty function library

Examples

from symbolica.community.spenso import TensorFunctionLibrary
lib = TensorFunctionLibrary()