Logo ROOT   6.08/07
Reference Guide
List of all members | Public Types | Public Member Functions | Private Attributes | List of all members
ROOT::Math::VecExpr< ExprType, T, D > Class Template Reference

template<class ExprType, class T, unsigned int D>
class ROOT::Math::VecExpr< ExprType, T, D >

Expression wrapper class for Vector objects.

Definition at line 64 of file Expression.h.

Public Types

enum  { kRows = D }
 
typedef T value_type
 

Public Member Functions

 VecExpr (const ExprType &rhs)
 
 ~VecExpr ()
 
apply (unsigned int i) const
 
bool IsInUse (const T *p) const
 function to determine if any use operand is being used (has same memory adress) More...
 
operator() (unsigned int i) const
 
std::ostream & print (std::ostream &os) const
 used by operator<<() More...
 

Private Attributes

ExprType rhs_
 

#include <Math/Expression.h>

Member Typedef Documentation

◆ value_type

template<class ExprType, class T, unsigned int D>
typedef T ROOT::Math::VecExpr< ExprType, T, D >::value_type

Definition at line 67 of file Expression.h.

Member Enumeration Documentation

◆ anonymous enum

template<class ExprType, class T, unsigned int D>
anonymous enum
Enumerator
kRows 

Definition at line 93 of file Expression.h.

Constructor & Destructor Documentation

◆ VecExpr()

template<class ExprType, class T, unsigned int D>
ROOT::Math::VecExpr< ExprType, T, D >::VecExpr ( const ExprType &  rhs)
inline

Definition at line 70 of file Expression.h.

◆ ~VecExpr()

template<class ExprType, class T, unsigned int D>
ROOT::Math::VecExpr< ExprType, T, D >::~VecExpr ( )
inline

Definition at line 74 of file Expression.h.

Member Function Documentation

◆ apply()

template<class ExprType, class T, unsigned int D>
T ROOT::Math::VecExpr< ExprType, T, D >::apply ( unsigned int  i) const
inline

Definition at line 77 of file Expression.h.

◆ IsInUse()

template<class ExprType, class T, unsigned int D>
bool ROOT::Math::VecExpr< ExprType, T, D >::IsInUse ( const T *  p) const
inline

function to determine if any use operand is being used (has same memory adress)

Definition at line 104 of file Expression.h.

◆ operator()()

template<class ExprType, class T, unsigned int D>
T ROOT::Math::VecExpr< ExprType, T, D >::operator() ( unsigned int  i) const
inline

Definition at line 81 of file Expression.h.

◆ print()

template<class ExprType, class T, unsigned int D>
std::ostream& ROOT::Math::VecExpr< ExprType, T, D >::print ( std::ostream &  os) const
inline

used by operator<<()

Definition at line 110 of file Expression.h.

Member Data Documentation

◆ rhs_

template<class ExprType, class T, unsigned int D>
ExprType ROOT::Math::VecExpr< ExprType, T, D >::rhs_
private

Definition at line 124 of file Expression.h.


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