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

◆ innerproduct()

template<typename T1 , typename T2 , int I>
static T1 aff::util::Inline2< T1, T2, I >::innerproduct ( const T1 *  A,
const T2 *  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 191 of file rawarfun.h.

Referenced by aff::inline_innerproduct().

192  {
193  return(A[I-1]*B[I-1]+Inline2<T1, T2, I-1>::innerproduct(A,B));
194  }
static T1 innerproduct(const T1 *A, const T2 *B)
calculate inner product
Definition: rawarfun.h:191
Here is the caller graph for this function: