SpaceTest.linearity

SpaceTest.linearity(self)[source]

Verify the linear space properties by examples.

These properties include things such as associativity

x + y = y + x

and identity of the LinearSpace.zero element

x + 0 = x

References

Wikipedia article on Vector space.