public interface Norm<T>
Modifier and Type | Method and Description |
---|---|
double |
distance(T obj1,
T obj2)
The distance between the two object, i.e.
|
double |
norm(T obj)
Returns the norm of the given object
|
double norm(T obj)
obj
- some object