| 
    shards
    Version of the Day
    
   | 
 
Inner product of two arrays. More...
#include <Shards_SimpleArrayOps.hpp>
Public Types | |
| enum | {  N = n, I = i }  | 
Public Member Functions | |
| template<typename T > | |
| InnerProduct (T &value, const T *const x, const T *const y) | |
| value += sum[ k = 0..N-1 ]( x[k] * y[k] )  | |
Inner product of two arrays.
| n | Number of members to iterate. | 
Definition at line 143 of file Shards_SimpleArrayOps.hpp.