ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Private Attributes | List of all members
ROOT::Math::Expr< ExprType, T, D, D2, R1 > Class Template Reference

template<class ExprType, class T, unsigned int D, unsigned int D2 = 1, class R1 = MatRepStd<T,D,D2>>
class ROOT::Math::Expr< ExprType, T, D, D2, R1 >

Definition at line 138 of file Expression.h.

Public Types

enum  { kRows = D, kCols = D2 }
 
typedef T value_type
 

Public Member Functions

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

Private Attributes

ExprType rhs_
 

#include <Math/Expression.h>

Member Typedef Documentation

template<class ExprType, class T, unsigned int D, unsigned int D2 = 1, class R1 = MatRepStd<T,D,D2>>
typedef T ROOT::Math::Expr< ExprType, T, D, D2, R1 >::value_type

Definition at line 140 of file Expression.h.

Member Enumeration Documentation

template<class ExprType, class T, unsigned int D, unsigned int D2 = 1, class R1 = MatRepStd<T,D,D2>>
anonymous enum
Enumerator
kRows 
kCols 

Definition at line 174 of file Expression.h.

Constructor & Destructor Documentation

template<class ExprType, class T, unsigned int D, unsigned int D2 = 1, class R1 = MatRepStd<T,D,D2>>
ROOT::Math::Expr< ExprType, T, D, D2, R1 >::Expr ( const ExprType &  rhs)
inline

Definition at line 143 of file Expression.h.

template<class ExprType, class T, unsigned int D, unsigned int D2 = 1, class R1 = MatRepStd<T,D,D2>>
ROOT::Math::Expr< ExprType, T, D, D2, R1 >::~Expr ( )
inline

Definition at line 147 of file Expression.h.

Member Function Documentation

template<class ExprType, class T, unsigned int D, unsigned int D2 = 1, class R1 = MatRepStd<T,D,D2>>
T ROOT::Math::Expr< ExprType, T, D, D2, R1 >::apply ( unsigned int  i) const
inline
template<class ExprType, class T, unsigned int D, unsigned int D2 = 1, class R1 = MatRepStd<T,D,D2>>
bool ROOT::Math::Expr< ExprType, T, D, D2, R1 >::IsInUse ( const T p) const
inline

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

Definition at line 161 of file Expression.h.

Referenced by ROOT::Math::Assign< T, D1, D2, A, R1, R2 >::Evaluate(), ROOT::Math::PlusEquals< T, D1, D2, A, R1, R2 >::Evaluate(), and ROOT::Math::MinusEquals< T, D1, D2, A, R1, R2 >::Evaluate().

template<class ExprType, class T, unsigned int D, unsigned int D2 = 1, class R1 = MatRepStd<T,D,D2>>
T ROOT::Math::Expr< ExprType, T, D, D2, R1 >::operator() ( unsigned int  i,
unsigned  j 
) const
inline

Definition at line 153 of file Expression.h.

Referenced by ROOT::Math::Expr< ExprType, T, D, D2, R1 >::print().

template<class ExprType, class T, unsigned int D, unsigned int D2 = 1, class R1 = MatRepStd<T,D,D2>>
std::ostream& ROOT::Math::Expr< ExprType, T, D, D2, R1 >::print ( std::ostream &  os) const
inline

used by operator<<() simplify to use apply(i,j)

Definition at line 184 of file Expression.h.

Member Data Documentation

template<class ExprType, class T, unsigned int D, unsigned int D2 = 1, class R1 = MatRepStd<T,D,D2>>
ExprType ROOT::Math::Expr< ExprType, T, D, D2, R1 >::rhs_
private

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