Logo ROOT   6.19/01
Reference Guide
ROOT::Math::TensorMulOp< Vector1, Vector2 > Class Template Reference

template<class Vector1, class Vector2>
class ROOT::Math::TensorMulOp< Vector1, Vector2 >

Class for Tensor Multiplication (outer product) of two vectors giving a matrix.

Definition at line 835 of file MatrixFunctions.h.

Public Member Functions

 TensorMulOp (const Vector1 &lhs, const Vector2 &rhs)
 
 ~TensorMulOp ()
 
Vector1::value_type apply (unsigned int i) const
 Vector2::kSize is the number of columns in the resulting matrix. More...
 
bool IsInUse (const typename Vector1::value_type *) const
 
Vector1::value_type operator() (unsigned int i, unsigned j) const
 

Protected Attributes

const Vector1 & lhs_
 
const Vector2 & rhs_
 

#include <Math/MatrixFunctions.h>

Constructor & Destructor Documentation

◆ TensorMulOp()

template<class Vector1 , class Vector2 >
ROOT::Math::TensorMulOp< Vector1, Vector2 >::TensorMulOp ( const Vector1 &  lhs,
const Vector2 &  rhs 
)
inline

Definition at line 838 of file MatrixFunctions.h.

◆ ~TensorMulOp()

template<class Vector1 , class Vector2 >
ROOT::Math::TensorMulOp< Vector1, Vector2 >::~TensorMulOp ( )
inline

Definition at line 843 of file MatrixFunctions.h.

Member Function Documentation

◆ apply()

template<class Vector1 , class Vector2 >
Vector1::value_type ROOT::Math::TensorMulOp< Vector1, Vector2 >::apply ( unsigned int  i) const
inline

Vector2::kSize is the number of columns in the resulting matrix.

Definition at line 846 of file MatrixFunctions.h.

◆ IsInUse()

template<class Vector1 , class Vector2 >
bool ROOT::Math::TensorMulOp< Vector1, Vector2 >::IsInUse ( const typename Vector1::value_type *  ) const
inline

Definition at line 853 of file MatrixFunctions.h.

◆ operator()()

template<class Vector1 , class Vector2 >
Vector1::value_type ROOT::Math::TensorMulOp< Vector1, Vector2 >::operator() ( unsigned int  i,
unsigned  j 
) const
inline

Definition at line 849 of file MatrixFunctions.h.

Member Data Documentation

◆ lhs_

template<class Vector1 , class Vector2 >
const Vector1& ROOT::Math::TensorMulOp< Vector1, Vector2 >::lhs_
protected

Definition at line 860 of file MatrixFunctions.h.

◆ rhs_

template<class Vector1 , class Vector2 >
const Vector2& ROOT::Math::TensorMulOp< Vector1, Vector2 >::rhs_
protected

Definition at line 861 of file MatrixFunctions.h.


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