Special#

This module provides special (linear algebra) math functions.

ddot(A, B)

dev(A)

Deviatoric part of a Tensor.

erf(z)

The (Gauss) error function.

from_triu_1d(A[, like])

Recover full Tensor from upper triangle entries of a Tensor.

from_triu_2d(A)

Recover full Tensor from upper triangle entries of a Tensor.

sym(A)

Symmetric part of a Tensor.

tresca(A)

Tresca Invariant.

triu_1d(A)

Flattened upper triangle entries of a Tensor.

try_stack(arrays[, fallback])

Try to unpack and stack the list of tensors/arrays and return the fallback array otherwise.

von_mises(A)

Von Mises Invariant.

Detailed API Reference

tensortrax.math.special.dev(A)[source]#

Deviatoric part of a Tensor.

tensortrax.math.special.erf(z)[source]#

The (Gauss) error function.

tensortrax.math.special.from_triu_1d(A, like=None)[source]#

Recover full Tensor from upper triangle entries of a Tensor.

tensortrax.math.special.from_triu_2d(A)[source]#

Recover full Tensor from upper triangle entries of a Tensor.

tensortrax.math.special.sym(A)[source]#

Symmetric part of a Tensor.

tensortrax.math.special.tresca(A)[source]#

Tresca Invariant.

tensortrax.math.special.triu_1d(A)[source]#

Flattened upper triangle entries of a Tensor.

tensortrax.math.special.try_stack(arrays, fallback=None)[source]#

Try to unpack and stack the list of tensors/arrays and return the fallback array otherwise.

tensortrax.math.special.von_mises(A)[source]#

Von Mises Invariant.