IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::FloatIndex Class Reference

A FloatIndex identifies an optimized attribute in a model. More...

#include <IMP/FloatIndex.h>

Inheritance diagram for IMP::FloatIndex:

Detailed Description

A FloatIndex identifies an optimized attribute in a model.

This can be a single Float attribute, or a single element in an optimized Vector3D or Vector4D, depending on the constructor used.

Definition at line 25 of file FloatIndex.h.

Public Member Functions

 FloatIndex (IMP::ParticleIndex pi, IMP::FloatKey k)
 FloatIndex (IMP::ParticleIndex pi, IMP::Vector3DDerivKey k, int index)
 FloatIndex (IMP::ParticleIndex pi, IMP::Vector4DDerivKey k, int index)
Float get_derivative (Model *m) const
FloatKey get_float_key () const
Float get_value (Model *m) const
void set_value (Model *m, Float v) const
void show (std::ostream &out=std::cout) const

Constructor & Destructor Documentation

◆ FloatIndex() [1/3]

IMP::FloatIndex::FloatIndex ( IMP::ParticleIndex pi,
IMP::FloatKey k )

Definition at line 33 of file FloatIndex.h.

◆ FloatIndex() [2/3]

IMP::FloatIndex::FloatIndex ( IMP::ParticleIndex pi,
IMP::Vector3DDerivKey k,
int index )

Definition at line 36 of file FloatIndex.h.

◆ FloatIndex() [3/3]

IMP::FloatIndex::FloatIndex ( IMP::ParticleIndex pi,
IMP::Vector4DDerivKey k,
int index )

Definition at line 39 of file FloatIndex.h.

Member Function Documentation

◆ get_float_key()

FloatKey IMP::FloatIndex::get_float_key ( ) const

Definition at line 42 of file FloatIndex.h.


The documentation for this class was generated from the following file: