Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
UnaryOperators.h File Reference
#include <cmath>
#include "Math/Expression.h"
Include dependency graph for UnaryOperators.h:
This graph shows which files directly or indirectly include this file:

Classes

class  ROOT::Math::Fabs< T >
 Unary abs Operation Class. More...
 
class  ROOT::Math::Minus< T >
 Unary Minus Operation Class. More...
 
class  ROOT::Math::Sqr< T >
 Unary Square Operation Class. More...
 
class  ROOT::Math::Sqrt< T >
 Unary Square Root Operation Class. More...
 

Namespaces

namespace  ROOT
 This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
 
namespace  ROOT::Math
 

Functions

template<class A , class T , unsigned int D, unsigned int D2, class R >
Expr< UnaryOp< Fabs< T >, Expr< A, T, D, D2, R >, T >, T, D, D2, RROOT::Math::fabs (const Expr< A, T, D, D2, R > &rhs)
 
template<class T , unsigned int D, unsigned int D2, class R >
Expr< UnaryOp< Fabs< T >, SMatrix< T, D, D2, R >, T >, T, D, D2, RROOT::Math::fabs (const SMatrix< T, D, D2, R > &rhs)
 abs of a matrix m2(i,j) = | m1(i,j) | returning a matrix epression
 
template<class T , unsigned int D>
VecExpr< UnaryOp< Fabs< T >, SVector< T, D >, T >, T, D > ROOT::Math::fabs (const SVector< T, D > &rhs)
 abs of a vector : v2(i) = | v1(i) | returning a vector expression
 
template<class A , class T , unsigned int D>
VecExpr< UnaryOp< Fabs< T >, VecExpr< A, T, D >, T >, T, D > ROOT::Math::fabs (const VecExpr< A, T, D > &rhs)
 
template<class A , class T , unsigned int D, unsigned int D2, class R >
Expr< UnaryOp< Minus< T >, Expr< A, T, D, D2, R >, T >, T, D, D2, RROOT::Math::operator- (const Expr< A, T, D, D2, R > &rhs)
 
template<class T , unsigned int D, unsigned int D2, class R >
Expr< UnaryOp< Minus< T >, SMatrix< T, D, D2, R >, T >, T, D, D2, RROOT::Math::operator- (const SMatrix< T, D, D2, R > &rhs)
 Unary - operator B = - A returning a matrix expression.
 
template<class T , unsigned int D>
VecExpr< UnaryOp< Minus< T >, SVector< T, D >, T >, T, D > ROOT::Math::operator- (const SVector< T, D > &rhs)
 Unary - operator v2 = -v1 .
 
template<class A , class T , unsigned int D>
VecExpr< UnaryOp< Minus< T >, VecExpr< A, T, D >, T >, T, D > ROOT::Math::operator- (const VecExpr< A, T, D > &rhs)
 
template<class A , class T , unsigned int D, unsigned int D2, class R >
Expr< UnaryOp< Sqr< T >, Expr< A, T, D, D2, R >, T >, T, D, D2, RROOT::Math::sqr (const Expr< A, T, D, D2, R > &rhs)
 
template<class T , unsigned int D, unsigned int D2, class R >
Expr< UnaryOp< Sqr< T >, SMatrix< T, D, D2, R >, T >, T, D, D2, RROOT::Math::sqr (const SMatrix< T, D, D2, R > &rhs)
 square of a matrix B(i,j) = A(i,j)*A(i,j) returning a matrix expression
 
template<class T , unsigned int D>
VecExpr< UnaryOp< Sqr< T >, SVector< T, D >, T >, T, D > ROOT::Math::sqr (const SVector< T, D > &rhs)
 square of a vector v2(i) = v1(i)*v1(i) .
 
template<class A , class T , unsigned int D>
VecExpr< UnaryOp< Sqr< T >, VecExpr< A, T, D >, T >, T, D > ROOT::Math::sqr (const VecExpr< A, T, D > &rhs)
 
template<class A , class T , unsigned int D, unsigned int D2, class R >
Expr< UnaryOp< Sqrt< T >, Expr< A, T, D, D2, R >, T >, T, D, D2, RROOT::Math::sqrt (const Expr< A, T, D, D2, R > &rhs)
 
template<class T , unsigned int D, unsigned int D2, class R >
Expr< UnaryOp< Sqrt< T >, SMatrix< T, D, D2, R >, T >, T, D, D2, RROOT::Math::sqrt (const SMatrix< T, D, D2, R > &rhs)
 square root of a matrix (element by element) m2(i,j) = sqrt ( m1(i,j) ) returning a matrix expression
 
template<class T , unsigned int D>
VecExpr< UnaryOp< Sqrt< T >, SVector< T, D >, T >, T, D > ROOT::Math::sqrt (const SVector< T, D > &rhs)
 square root of a vector (element by element) v2(i) = sqrt( v1(i) ) returning a vector expression
 
template<class A , class T , unsigned int D>
VecExpr< UnaryOp< Sqrt< T >, VecExpr< A, T, D >, T >, T, D > ROOT::Math::sqrt (const VecExpr< A, T, D > &rhs)