Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::MinusEquals< T, D1, D2, A, MatRepSym< T, D1 >, MatRepSym< T, D1 > > Struct Template Reference

template<class T, unsigned int D1, unsigned int D2, class A>
struct ROOT::Math::MinusEquals< T, D1, D2, A, MatRepSym< T, D1 >, MatRepSym< T, D1 > >

Specialization for symmetric matrices.

Evaluate the expression performing a -= operation for symmetric matrices Need to have a separate functions to avoid to modify two times the off-diagonal elements (i.e applying two times the expression) Need to check whether creating a temporary object with the expression result (like in op: A -= A + B )

Definition at line 315 of file HelperOps.h.

Static Public Member Functions

static void Evaluate (SMatrix< T, D1, D2, MatRepSym< T, D1 > > &lhs, const Expr< A, T, D1, D2, MatRepSym< T, D1 > > &rhs)
 

#include <Math/HelperOps.h>

Member Function Documentation

◆ Evaluate()

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

Definition at line 317 of file HelperOps.h.


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