TensorSpace.inner

TensorSpace.inner(self, x1, x2)

Return the inner product of x1 and x2.

Parameters
x1, x2LinearSpaceElement

Elements whose inner product to compute.

Returns
innerLinearSpace.field element

Inner product of x1 and x2.