CustomInner.dist¶
- CustomInner.dist(x1, x2)¶
Calculate the distance between two elements.
This is the standard implementation using
norm
. Subclasses should override it for optimization purposes.- Parameters:
- x1, x2
LinearSpaceElement
Elements whose mutual distance is calculated.
- x1, x2
- Returns:
- distfloat
The distance between the elements.