ninetoothed.Tensor.subs#

Tensor.subs(subs)#

Substitute symbols in the tensor.

Parameters:
  • tensor – The symbolic tensor.

  • subs – The substitutions for symbolic variables.

Returns:

A new tensor with the substitutions applied.