SpatialOps
SpatialOps::Kronecker< i1, i2 > Struct Template Reference

Implements a Kronecker delta function on two int values. More...

#include <IndexTriplet.h>

Detailed Description

template<int i1, int i2>
struct SpatialOps::Kronecker< i1, i2 >

Implements a Kronecker delta function on two int values.

Examples:

assert( Kronecker<1,0>::value == 0 );
assert( Kronecker<2,2>::value == 1 );

Definition at line 253 of file IndexTriplet.h.


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