FEDRA emulsion software from the OPERA Collaboration
meta_matrix_dot< I > Struct Template Reference

#include <MatrixFunctions.hh>

Static Public Member Functions

template<class MatrixA , class MatrixB >
static MatrixA::value_type f (const MatrixA &lhs, const MatrixB &rhs, const unsigned int offset)
 

Member Function Documentation

◆ f()

template<unsigned int I>
template<class MatrixA , class MatrixB >
static MatrixA::value_type meta_matrix_dot< I >::f ( const MatrixA &  lhs,
const MatrixB &  rhs,
const unsigned int  offset 
)
inlinestatic
242  {
243  return lhs.apply(offset/MatrixB::cols*MatrixA::cols + I) *
244  rhs.apply(MatrixB::cols*I + offset%MatrixB::cols) +
245  meta_matrix_dot<I-1>::f(lhs,rhs,offset);
246  }
static MatrixA::value_type f(const MatrixA &lhs, const MatrixB &rhs, const unsigned int offset)
Definition: MatrixFunctions.hh:241

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