RDKit
Open-source cheminformatics and machine learning.
Vector.h File Reference
#include <RDGeneral/Invariant.h>
#include <RDGeneral/utils.h>
#include <math.h>
#include <iostream>
#include <iomanip>
#include <cstdlib>
#include <cstring>
#include <time.h>
#include <boost/random.hpp>
#include <boost/smart_ptr.hpp>

Go to the source code of this file.

Classes

class  RDNumeric::Vector< TYPE >
 A class to represent vectors of numbers. More...
 

Namespaces

 RDNumeric
 

Typedefs

typedef Vector< double > RDNumeric::DoubleVector
 

Functions

template<typename T >
double RDNumeric::TanimotoSimilarity (const Vector< T > &v1, const Vector< T > &v2)
 returns the algebraic tanimoto similarity [defn' from JCIM 46:587-96 (2006)] More...
 
template<typename TYPE >
std::ostream & operator<< (std::ostream &target, const RDNumeric::Vector< TYPE > &vec)
 ostream operator for Vectors More...
 

Function Documentation

template<typename TYPE >
std::ostream& operator<< ( std::ostream &  target,
const RDNumeric::Vector< TYPE > &  vec 
)

ostream operator for Vectors

Definition at line 310 of file Vector.h.

References RDNumeric::Vector< TYPE >::getVal(), and RDNumeric::Vector< TYPE >::size().