Loading...
Searching...
No Matches
Go to the documentation of this file.
36#include <boost/preprocessor/arithmetic/inc.hpp>
37#include <boost/preprocessor/arithmetic/mul.hpp>
38#include <boost/preprocessor/comparison/not_equal.hpp>
39#include <boost/preprocessor/repetition/for.hpp>
40#include <boost/preprocessor/tuple/elem.hpp>
42#include "Operators/SwitchLimits.h"
47#define NM(i) BOOST_PP_TUPLE_ELEM(0, i)
49#define NM_P1(i) BOOST_PP_INC(BOOST_PP_TUPLE_ELEM(0, i))
51#define NQ(i) BOOST_PP_TUPLE_ELEM(1, i)
53#define NQ_M1(i) BOOST_PP_DEC(BOOST_PP_TUPLE_ELEM(1, i))
60#define STDLEV2TEST(r, state) \
61 BOOST_PP_NOT_EQUAL(BOOST_PP_TUPLE_ELEM(0, state), \
62 BOOST_PP_INC(BOOST_PP_TUPLE_ELEM(2, state)))
64#define STDLEV2TEST1(r, state) \
65 BOOST_PP_NOT_EQUAL(BOOST_PP_TUPLE_ELEM(1, state), \
66 BOOST_PP_INC(BOOST_PP_TUPLE_ELEM(2, state)))
72#define STDLEV2UPDATE(r, state) \
73 (BOOST_PP_INC(BOOST_PP_TUPLE_ELEM(0, state)), \
74 BOOST_PP_TUPLE_ELEM(1, state), BOOST_PP_TUPLE_ELEM(2, state))
76#define STDLEV2UPDATE1(r, state) \
77 (BOOST_PP_TUPLE_ELEM(0, state), \
78 BOOST_PP_INC(BOOST_PP_TUPLE_ELEM(1, state)), \
79 BOOST_PP_TUPLE_ELEM(2, state))