Logo ROOT   6.10/09
Reference Guide
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 ()
 
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, unsigned j) const
 
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

◆ value_type

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

◆ anonymous enum

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

◆ Expr()

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.

◆ ~Expr()

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

◆ apply()

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

Definition at line 150 of file Expression.h.

◆ IsInUse()

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.

◆ operator()()

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.

◆ 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

◆ rhs_

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

Definition at line 203 of file Expression.h.


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