SpaceTest.inner

SpaceTest.inner()[source]

Verify LinearSpace.inner.

The inner product is checked for the following properties:

  • conjugate symmetry:

    <x, y> = <y, x>^* (^* complex conjugate)

  • linearity:

    <a * x, y> = a * <x, y>

    <x + y, z> = <x, z> + <y, z>

  • positive definiteness:

    <x, x> >= 0

References

Wikipedia article on inner product.