btensor.dot

btensor.dot(a, b)[source]

Evaluates the dot product of two tensors while performing required basis transformations automatically.

See also numpy.dot.

Parameters
  • a (ArrayLike | Tensor) – First and second tensor.

  • b (ArrayLike | Tensor) – First and second tensor.

Returns

Dot product of a and b.

Return type

Tensor | Number