libatomprobe
Library for Atom Probe Tomography (APT) computation
Classes | Namespaces | Functions
misc.h File Reference
#include "stringFuncs.h"
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AtomProbe::RGBf
 Data holder for colour as float. More...
 

Namespaces

 AtomProbe
 

Functions

template<class T >
bool AtomProbe::tolEqual (const T &a, const T &b, const T &f)
 Test for equality within tolerance f (||a-b|| < f) More...
 
template<class T >
void AtomProbe::selectElements (const std::vector< T > &in, const std::vector< unsigned int > &indices, std::vector< T > &out)
 Obtain the elements at positions indicies in the input vector, copy to output. More...
 
template<class T >
void AtomProbe::transposeVector (std::vector< std::vector< T > > &v)
 Perform an out-of-place tranposition of a given vector. More...
 
template<class T >
void AtomProbe::vectorMultiErase (std::vector< T > &vec, const std::vector< bool > &wantKill)
 Remove elements from the vector, without preserving order. More...