AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ innerproduct()

template<typename T , int I>
static T aff::util::Inline< T, I >::innerproduct ( const T *  A,
const T *  B 
)
inlinestatic

calculate inner product

Parameters
A$ A_l $
B$ B_l $
Returns
$ \sum\limits_{l=0}^{I-1}A_l\,B_l $

Definition at line 109 of file rawarfun.h.

Referenced by aff::inline_innerproduct().

110  {
111  return(A[I-1]*B[I-1]+Inline<T, I-1>::innerproduct(A,B));
112  }
static T innerproduct(const T *A, const T *B)
calculate inner product
Definition: rawarfun.h:109
Here is the caller graph for this function: