IMP logo
IMP Reference Guide  develop.7400db2aee,2024/11/24
The Integrative Modeling Platform
UnitSimplexD.h File Reference

Simple unit simplex class. More...

#include <IMP/algebra/algebra_config.h>
#include <IMP/algebra/Triangle3D.h>
#include <IMP/algebra/GeometricPrimitiveD.h>
#include <IMP/algebra/VectorD.h>
#include <IMP/showable_macros.h>
#include <boost/math/special_functions/gamma.hpp>
#include <cereal/access.hpp>
#include <algorithm>
#include <cmath>
#include <limits>
#include <numeric>
+ Include dependency graph for UnitSimplexD.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IMP::algebra::UnitSimplexBaseD< D >
 Base class for a unit simplex embedded in D-dimensional real space. More...
 
class  IMP::algebra::UnitSimplexD< D >
 Represent a unit simplex embedded in D-dimensional real space. More...
 
class  IMP::algebra::UnitSimplexD<-1 >
 Represent a unit simplex embedded in d-dimensional real space. More...
 

Namespaces

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

Typedefs

typedef UnitSimplexD< 1 > IMP::algebra::UnitSimplex1D
 
typedef IMP::Vector
< UnitSimplex1D > 
IMP::algebra::UnitSimplex1Ds
 
typedef UnitSimplexD< 2 > IMP::algebra::UnitSimplex2D
 
typedef IMP::Vector
< UnitSimplex2D > 
IMP::algebra::UnitSimplex2Ds
 
typedef UnitSimplexD< 3 > IMP::algebra::UnitSimplex3D
 
typedef IMP::Vector
< UnitSimplex3D > 
IMP::algebra::UnitSimplex3Ds
 
typedef UnitSimplexD< 4 > IMP::algebra::UnitSimplex4D
 
typedef IMP::Vector
< UnitSimplex4D > 
IMP::algebra::UnitSimplex4Ds
 
typedef UnitSimplexD< 5 > IMP::algebra::UnitSimplex5D
 
typedef IMP::Vector
< UnitSimplex5D > 
IMP::algebra::UnitSimplex5Ds
 
typedef UnitSimplexD< 6 > IMP::algebra::UnitSimplex6D
 
typedef IMP::Vector
< UnitSimplex6D > 
IMP::algebra::UnitSimplex6Ds
 
typedef UnitSimplexD<-1 > IMP::algebra::UnitSimplexKD
 
typedef IMP::Vector
< UnitSimplexKD > 
IMP::algebra::UnitSimplexKDs
 

Functions

template<int D>
VectorD< D > IMP::algebra::get_embedded_from_increasing (const UnitSimplexD< D > &s, const VectorD< D > &p)
 Convert point on simplex from increasing to embedded coordinates. More...
 
template<int D>
VectorD< D > IMP::algebra::get_increasing_from_embedded (const UnitSimplexD< D > &s, const VectorD< D > &p)
 Convert point on simplex from embedded to increasing coordinates. More...
 
template<int D>
VectorD< D > IMP::algebra::get_projected (const UnitSimplexD< D > &s, const VectorD< D > &p)
 
algebra::Triangle3D IMP::algebra::get_triangle_3d (const UnitSimplex3D &s)
 
template<int D>
Vector< VectorD< D > > IMP::algebra::get_vertices (const UnitSimplexD< D > &s)
 Return a list of the vertices (bases) of the unit simplex. More...
 

Detailed Description

Simple unit simplex class.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file UnitSimplexD.h.