Make a Transformation representing the identity function.
Details
WARNING: In Python, this function does not ensure that the domain and metric form a valid metric space. However, if the domain and metric do not form a valid metric space, then the resulting Transformation won't be chainable with any valid Transformation, so it cannot be used to introduce an invalid metric space into a chain of valid Transformations.
make_identity in Rust documentation.
Supporting Elements:
Input Domain:
D
Output Domain:
D
Input Metric:
M
Output Metric:
M