OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 70 of file variance_map.hh.

Constructor & Destructor Documentation

Dist2Mean ( uint  num_residues,
uint  num_structures 
)
inline

Definition at line 73 of file variance_map.hh.

Member Function Documentation

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

Definition at line 97 of file variance_map.hh.

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

Definition at line 92 of file variance_map.hh.

void DivideBy ( Real  val)
inline

Definition at line 101 of file variance_map.hh.

void ExportCsv ( const String file_name)
void ExportDat ( const String file_name)
void ExportJson ( const String file_name)
Real Get ( uint  i_res,
uint  i_str 
) const
inline

Definition at line 81 of file variance_map.hh.

String GetJsonString ( )
uint GetNumResidues ( ) const
inline

Definition at line 94 of file variance_map.hh.

uint GetNumStructures ( ) const
inline

Definition at line 95 of file variance_map.hh.

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

Definition at line 85 of file variance_map.hh.

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

Definition at line 88 of file variance_map.hh.

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

Definition at line 77 of file variance_map.hh.


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