LinearSpace.inner

LinearSpace.inner(self, x1, x2)[source]

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.