matrix
A ``domain_dim``-by-``domain_dim`` dense integer identity matrix.
+ Raises
+ ------
+
+ ValueError
+ If you ask for the identity on zero or fewer dimensions.
+
Examples
--------
float
The inner product of ``vec1`` and ``vec2``.
+ Raises
+ ------
+
+ TypeError
+ If the lengths of ``vec1`` and ``vec2`` differ.
+
Examples
--------