Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 837 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.
 
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 840 of file MatrixFunctions.h.

◆ ~TensorMulOp()

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

Definition at line 845 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 848 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 855 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 851 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 862 of file MatrixFunctions.h.

◆ rhs_

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

Definition at line 863 of file MatrixFunctions.h.

  • math/smatrix/inc/Math/MatrixFunctions.h