FEDRA emulsion software from the OPERA Collaboration
meta_matrix_dot< 0 > Struct 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<class MatrixA , class MatrixB >
static MatrixA::value_type meta_matrix_dot< 0 >::f ( const MatrixA &  lhs,
const MatrixB &  rhs,
const unsigned int  offset 
)
inlinestatic
257 {
258 return lhs.apply(offset/MatrixB::cols*MatrixA::cols) *
259 rhs.apply(offset%MatrixB::cols);
260 }

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