IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
distance.h File Reference

Distance metrics. More...

#include <IMP/algebra/algebra_config.h>
#include "Transformation3D.h"
#include "VectorD.h"
#include "IMP/base_types.h"
Include dependency graph for algebra/distance.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  IMP
 Base functionality and abstract base classes for representation, scoring and sampling.
namespace  IMP::algebra
 General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP modules.

Functions

template<class Vector3DsOrXYZs0, class Vector3DsOrXYZs1>
double IMP::algebra::get_rmsd (const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
template<class Vector3DsOrXYZs0, class Vector3DsOrXYZs1>
double IMP::algebra::get_rmsd_transforming_first (const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
 Calculate the root mean square deviation between two sets of 3D points.
template<class Vector3DsOrXYZs0, class Vector3DsOrXYZs1>
double IMP::algebra::get_weighted_rmsd (const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const Floats &weights)
template<class Vector3DsOrXYZs0, class Vector3DsOrXYZs1>
double IMP::algebra::get_weighted_rmsd_transforming_first (const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const Floats &weights)

Detailed Description

Distance metrics.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file algebra/distance.h.