shards  Version of the Day
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups
shards::Max< n, i > Struct Template Reference

Take maximum value of each member of two arrays. More...

#include <Shards_SimpleArrayOps.hpp>

Public Types

enum  {
  N = n,
  I = i
}
 

Public Member Functions

template<typename T >
 Max (T *const dst, const T *const src)
 dst[0..N-1] = max( dst[0..N-1] , src[0..N-1] )
 

Detailed Description

template<unsigned n, unsigned i = 0>
struct shards::Max< n, i >

Take maximum value of each member of two arrays.

Template Parameters
nNumber of members to iterate.

Definition at line 113 of file Shards_SimpleArrayOps.hpp.


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