MyraMath
Classes | Functions
Index.h File Reference

Implementation detail of Expression templates. More...

#include <myramath/MYRAMATH_EXPORT.h>
#include <initializer_list>
Include dependency graph for Index.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  myra::Index< N >
 Essentially a std::array<int,N>, provided for backwards compatibility. More...
 

Functions

template<int N>
bool myra::operator== (const Index< N > &a, const Index< N > &b)
 Compares two Index's for equality.
 
template<int N>
bool myra::operator!= (const Index< N > &a, const Index< N > &b)
 Compares two Index's for inequality.
 
template<int N1, int N2>
Index< N1+N2 > myra::concatenate (const Index< N1 > &i1, const Index< N2 > &i2)
 Concatenates two Index's.
 
Index< 1 > myra::make_Index (int i)
 Helper functions to construct Index's.
 
Index< 2 > myra::make_Index (int i, int j)
 
Index< 3 > myra::make_Index (int i, int j, int k)
 

Detailed Description

Implementation detail of Expression templates.