shards::Min< n, i > Struct Template Reference
[Simple Compile-time Sized Array Operations]

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

#include <Shards_SimpleArrayOps.hpp>

List of all members.

Public Types

enum  {
  N = n,
  I = i
}

Public Member Functions

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

Detailed Description

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

Take minimum value of each member of two arrays.

Template Parameters:
n Number of members to iterate.

Definition at line 142 of file Shards_SimpleArrayOps.hpp.


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

Generated on Tue Oct 20 14:14:35 2009 for shards by  doxygen 1.6.1