Logo ROOT  
Reference Guide
ROOT::Math::AssignSym Struct Reference

Force Expression evaluation from general to symmetric.

To be used when is known (like in similarity products) that the result is symmetric Note this is function used in the simmilarity product: no check for temporary is done since in that case is not needed

Definition at line 149 of file HelperOps.h.

Static Public Member Functions

template<class T , unsigned int D, class A , class R >
static void Evaluate (SMatrix< T, D, D, MatRepSym< T, D > > &lhs, const Expr< A, T, D, D, R > &rhs)
 assign a symmetric matrix from an expression More...
 
template<class T , unsigned int D, class R >
static void Evaluate (SMatrix< T, D, D, MatRepSym< T, D > > &lhs, const SMatrix< T, D, D, R > &rhs)
 assign the symmetric matric from a general matrix More...
 

#include <Math/HelperOps.h>

Member Function Documentation

◆ Evaluate() [1/2]

template<class T , unsigned int D, class A , class R >
static void ROOT::Math::AssignSym::Evaluate ( SMatrix< T, D, D, MatRepSym< T, D > > &  lhs,
const Expr< A, T, D, D, R > &  rhs 
)
inlinestatic

assign a symmetric matrix from an expression

Definition at line 156 of file HelperOps.h.

◆ Evaluate() [2/2]

template<class T , unsigned int D, class R >
static void ROOT::Math::AssignSym::Evaluate ( SMatrix< T, D, D, MatRepSym< T, D > > &  lhs,
const SMatrix< T, D, D, R > &  rhs 
)
inlinestatic

assign the symmetric matric from a general matrix

Definition at line 171 of file HelperOps.h.


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