OpenStructure
Public Member Functions
Dist2Mean Class Reference

#include <variance_map.hh>

Public Member Functions

 Dist2Mean (uint num_residues, uint num_structures)
 
void Set (uint i_res, uint i_str, Real val)
 
Real Get (uint i_res, uint i_str) const
 
Realoperator() (uint i_res, uint i_str)
 
Real operator() (uint i_res, uint i_str) const
 
std::vector< Real > & Data ()
 
uint GetNumResidues () const
 
uint GetNumStructures () const
 
void Add (uint i_res, uint i_str, Real val)
 
void DivideBy (Real val)
 
void ExportDat (const String &file_name)
 
void ExportCsv (const String &file_name)
 
void ExportJson (const String &file_name)
 
String GetJsonString ()
 

Detailed Description

Container for distances to mean for N structures. Main functionality: Get/Set, ExportXXX.

Definition at line 72 of file variance_map.hh.

Constructor & Destructor Documentation

◆ Dist2Mean()

Dist2Mean ( uint  num_residues,
uint  num_structures 
)
inline

Definition at line 75 of file variance_map.hh.

Member Function Documentation

◆ Add()

void Add ( uint  i_res,
uint  i_str,
Real  val 
)
inline

Definition at line 99 of file variance_map.hh.

◆ Data()

std::vector<Real>& Data ( )
inline

Definition at line 94 of file variance_map.hh.

◆ DivideBy()

void DivideBy ( Real  val)
inline

Definition at line 103 of file variance_map.hh.

◆ ExportCsv()

void ExportCsv ( const String file_name)

◆ ExportDat()

void ExportDat ( const String file_name)

◆ ExportJson()

void ExportJson ( const String file_name)

◆ Get()

Real Get ( uint  i_res,
uint  i_str 
) const
inline

Definition at line 83 of file variance_map.hh.

◆ GetJsonString()

String GetJsonString ( )

◆ GetNumResidues()

uint GetNumResidues ( ) const
inline

Definition at line 96 of file variance_map.hh.

◆ GetNumStructures()

uint GetNumStructures ( ) const
inline

Definition at line 97 of file variance_map.hh.

◆ operator()() [1/2]

Real& operator() ( uint  i_res,
uint  i_str 
)
inline

Definition at line 87 of file variance_map.hh.

◆ operator()() [2/2]

Real operator() ( uint  i_res,
uint  i_str 
) const
inline

Definition at line 90 of file variance_map.hh.

◆ Set()

void Set ( uint  i_res,
uint  i_str,
Real  val 
)
inline

Definition at line 79 of file variance_map.hh.


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