msmbuilder.clustering.p_norm

msmbuilder.clustering.p_norm(data, p=2)[source]

p_norm of an ndarray with XYZ coordinates

Parameters:

data : ndarray

XYZ coordinates. TODO: Shape?

p : {int, “max”}, optional

power of p_norm

Returns:

value : float

the answer

Versions