cortical_surface 6.0.0
vector_operations.h File Reference

Go to the source code of this file.

Functions

int find (const std::vector< uint > &v, uint item)
 
int find (const std::vector< short > &v, short item)
 
void push_vector (std::vector< uint > &v, const std::vector< uint > &w)
 
void push_vector (std::vector< short > &v, const std::vector< short > &w)
 
std::vector< short > reverseVector (const std::vector< short > &v)
 
std::vector< uintsetToVector (const std::set< uint > &v)
 
std::vector< uintsetToVector (const std::set< int > &v)
 
std::vector< short > setToVector (const std::set< short > &v)
 
std::vector< uintgetCorresVector (const std::vector< uint > &inVector, const std::vector< uint > &corres)
 
std::vector< uintminusVector (const std::vector< uint > &v, const std::vector< uint > &w)
 
std::vector< short > minusVector (const std::vector< short > &v, const std::vector< short > &w)
 
std::vector< uintintersVector (const std::vector< uint > &v, const std::vector< uint > &w)
 
int getRealSize (const std::vector< std::set< uint > > &v)
 
bool valueOf (const std::string &s, uint &obj)
 
std::string f2str (float f)
 
std::string i2str (uint f)
 

Function Documentation

◆ f2str()

std::string f2str ( float f)

◆ find() [1/2]

int find ( const std::vector< short > & v,
short item )

◆ find() [2/2]

int find ( const std::vector< uint > & v,
uint item )

◆ getCorresVector()

std::vector< uint > getCorresVector ( const std::vector< uint > & inVector,
const std::vector< uint > & corres )

◆ getRealSize()

int getRealSize ( const std::vector< std::set< uint > > & v)

◆ i2str()

std::string i2str ( uint f)

◆ intersVector()

std::vector< uint > intersVector ( const std::vector< uint > & v,
const std::vector< uint > & w )

◆ minusVector() [1/2]

std::vector< short > minusVector ( const std::vector< short > & v,
const std::vector< short > & w )

◆ minusVector() [2/2]

std::vector< uint > minusVector ( const std::vector< uint > & v,
const std::vector< uint > & w )

◆ push_vector() [1/2]

void push_vector ( std::vector< short > & v,
const std::vector< short > & w )

◆ push_vector() [2/2]

void push_vector ( std::vector< uint > & v,
const std::vector< uint > & w )

◆ reverseVector()

std::vector< short > reverseVector ( const std::vector< short > & v)

◆ setToVector() [1/3]

std::vector< uint > setToVector ( const std::set< int > & v)

◆ setToVector() [2/3]

std::vector< short > setToVector ( const std::set< short > & v)

◆ setToVector() [3/3]

std::vector< uint > setToVector ( const std::set< uint > & v)

◆ valueOf()

bool valueOf ( const std::string & s,
uint & obj )