Eurobot2012_Primary

Dependencies:   mbed Eurobot_2012_Primary

Committer:
narshu
Date:
Wed Oct 17 22:22:47 2012 +0000
Revision:
26:0995f61cb7b8
Parent:
25:143b19c1fb05
Eurobot 2012 Primary;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
narshu 25:143b19c1fb05 1 /*
narshu 25:143b19c1fb05 2 * Tiny Vector Matrix Library
narshu 25:143b19c1fb05 3 * Dense Vector Matrix Libary of Tiny size using Expression Templates
narshu 25:143b19c1fb05 4 *
narshu 25:143b19c1fb05 5 * Copyright (C) 2001 - 2007 Olaf Petzold <opetzold@users.sourceforge.net>
narshu 25:143b19c1fb05 6 *
narshu 25:143b19c1fb05 7 * This library is free software; you can redistribute it and/or
narshu 25:143b19c1fb05 8 * modify it under the terms of the GNU Lesser General Public
narshu 25:143b19c1fb05 9 * License as published by the Free Software Foundation; either
narshu 25:143b19c1fb05 10 * version 2.1 of the License, or (at your option) any later version.
narshu 25:143b19c1fb05 11 *
narshu 25:143b19c1fb05 12 * This library is distributed in the hope that it will be useful,
narshu 25:143b19c1fb05 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
narshu 25:143b19c1fb05 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
narshu 25:143b19c1fb05 15 * Lesser General Public License for more details.
narshu 25:143b19c1fb05 16 *
narshu 25:143b19c1fb05 17 * You should have received a copy of the GNU Lesser General Public
narshu 25:143b19c1fb05 18 * License along with this library; if not, write to the Free Software
narshu 25:143b19c1fb05 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
narshu 25:143b19c1fb05 20 *
narshu 25:143b19c1fb05 21 * $Id: VectorBinaryFunctions.h,v 1.12 2007-06-23 15:59:00 opetzold Exp $
narshu 25:143b19c1fb05 22 */
narshu 25:143b19c1fb05 23
narshu 25:143b19c1fb05 24 #ifndef TVMET_XPR_VECTOR_BINARY_FUNCTIONS_H
narshu 25:143b19c1fb05 25 #define TVMET_XPR_VECTOR_BINARY_FUNCTIONS_H
narshu 25:143b19c1fb05 26
narshu 25:143b19c1fb05 27 namespace tvmet {
narshu 25:143b19c1fb05 28
narshu 25:143b19c1fb05 29
narshu 25:143b19c1fb05 30 /*********************************************************
narshu 25:143b19c1fb05 31 * PART I: DECLARATION
narshu 25:143b19c1fb05 32 *********************************************************/
narshu 25:143b19c1fb05 33
narshu 25:143b19c1fb05 34
narshu 25:143b19c1fb05 35 /*
narshu 25:143b19c1fb05 36 * binary_function(XprVector<E1, Sz>, XprVector<E2, Sz>)
narshu 25:143b19c1fb05 37 */
narshu 25:143b19c1fb05 38 #define TVMET_DECLARE_MACRO(NAME) \
narshu 25:143b19c1fb05 39 template<class E1, class E2, std::size_t Sz> \
narshu 25:143b19c1fb05 40 inline \
narshu 25:143b19c1fb05 41 XprVector< \
narshu 25:143b19c1fb05 42 XprBinOp< \
narshu 25:143b19c1fb05 43 Fcnl_##NAME<typename E1::value_type, typename E2::value_type>, \
narshu 25:143b19c1fb05 44 XprVector<E1, Sz>, \
narshu 25:143b19c1fb05 45 XprVector<E2, Sz> \
narshu 25:143b19c1fb05 46 >, \
narshu 25:143b19c1fb05 47 Sz \
narshu 25:143b19c1fb05 48 > \
narshu 25:143b19c1fb05 49 NAME(const XprVector<E1, Sz>& lhs, \
narshu 25:143b19c1fb05 50 const XprVector<E2, Sz>& rhs) TVMET_CXX_ALWAYS_INLINE;
narshu 25:143b19c1fb05 51
narshu 25:143b19c1fb05 52 TVMET_DECLARE_MACRO(atan2)
narshu 25:143b19c1fb05 53 TVMET_DECLARE_MACRO(drem)
narshu 25:143b19c1fb05 54 TVMET_DECLARE_MACRO(fmod)
narshu 25:143b19c1fb05 55 TVMET_DECLARE_MACRO(hypot)
narshu 25:143b19c1fb05 56 TVMET_DECLARE_MACRO(jn)
narshu 25:143b19c1fb05 57 TVMET_DECLARE_MACRO(yn)
narshu 25:143b19c1fb05 58 TVMET_DECLARE_MACRO(pow)
narshu 25:143b19c1fb05 59 #if defined(TVMET_HAVE_COMPLEX)
narshu 25:143b19c1fb05 60 TVMET_DECLARE_MACRO(polar)
narshu 25:143b19c1fb05 61 #endif
narshu 25:143b19c1fb05 62
narshu 25:143b19c1fb05 63 #undef TVMET_DECLARE_MACRO
narshu 25:143b19c1fb05 64
narshu 25:143b19c1fb05 65
narshu 25:143b19c1fb05 66 /*
narshu 25:143b19c1fb05 67 * binary_function(XprVector<E, Sz>, POD)
narshu 25:143b19c1fb05 68 */
narshu 25:143b19c1fb05 69 #define TVMET_DECLARE_MACRO(NAME, TP) \
narshu 25:143b19c1fb05 70 template<class E, std::size_t Sz> \
narshu 25:143b19c1fb05 71 inline \
narshu 25:143b19c1fb05 72 XprVector< \
narshu 25:143b19c1fb05 73 XprBinOp< \
narshu 25:143b19c1fb05 74 Fcnl_##NAME<typename E::value_type, TP >, \
narshu 25:143b19c1fb05 75 XprVector<E, Sz>, \
narshu 25:143b19c1fb05 76 XprLiteral< TP > \
narshu 25:143b19c1fb05 77 >, \
narshu 25:143b19c1fb05 78 Sz \
narshu 25:143b19c1fb05 79 > \
narshu 25:143b19c1fb05 80 NAME(const XprVector<E, Sz>& lhs, \
narshu 25:143b19c1fb05 81 TP rhs) TVMET_CXX_ALWAYS_INLINE;
narshu 25:143b19c1fb05 82
narshu 25:143b19c1fb05 83 TVMET_DECLARE_MACRO(atan2, int)
narshu 25:143b19c1fb05 84 TVMET_DECLARE_MACRO(drem, int)
narshu 25:143b19c1fb05 85 TVMET_DECLARE_MACRO(fmod, int)
narshu 25:143b19c1fb05 86 TVMET_DECLARE_MACRO(hypot, int)
narshu 25:143b19c1fb05 87 TVMET_DECLARE_MACRO(jn, int)
narshu 25:143b19c1fb05 88 TVMET_DECLARE_MACRO(yn, int)
narshu 25:143b19c1fb05 89 TVMET_DECLARE_MACRO(pow, int)
narshu 25:143b19c1fb05 90
narshu 25:143b19c1fb05 91 #if defined(TVMET_HAVE_LONG_LONG)
narshu 25:143b19c1fb05 92 TVMET_DECLARE_MACRO(atan2, long long int)
narshu 25:143b19c1fb05 93 TVMET_DECLARE_MACRO(drem, long long int)
narshu 25:143b19c1fb05 94 TVMET_DECLARE_MACRO(fmod, long long int)
narshu 25:143b19c1fb05 95 TVMET_DECLARE_MACRO(hypot, long long int)
narshu 25:143b19c1fb05 96 TVMET_DECLARE_MACRO(jn, long long int)
narshu 25:143b19c1fb05 97 TVMET_DECLARE_MACRO(yn, long long int)
narshu 25:143b19c1fb05 98 TVMET_DECLARE_MACRO(pow, long long int)
narshu 25:143b19c1fb05 99 #endif // defined(TVMET_HAVE_LONG_LONG)
narshu 25:143b19c1fb05 100
narshu 25:143b19c1fb05 101 TVMET_DECLARE_MACRO(atan2, float)
narshu 25:143b19c1fb05 102 TVMET_DECLARE_MACRO(drem, float)
narshu 25:143b19c1fb05 103 TVMET_DECLARE_MACRO(fmod, float)
narshu 25:143b19c1fb05 104 TVMET_DECLARE_MACRO(hypot, float)
narshu 25:143b19c1fb05 105 TVMET_DECLARE_MACRO(jn, float)
narshu 25:143b19c1fb05 106 TVMET_DECLARE_MACRO(yn, float)
narshu 25:143b19c1fb05 107 TVMET_DECLARE_MACRO(pow, float)
narshu 25:143b19c1fb05 108
narshu 25:143b19c1fb05 109 TVMET_DECLARE_MACRO(atan2, double)
narshu 25:143b19c1fb05 110 TVMET_DECLARE_MACRO(drem, double)
narshu 25:143b19c1fb05 111 TVMET_DECLARE_MACRO(fmod, double)
narshu 25:143b19c1fb05 112 TVMET_DECLARE_MACRO(hypot, double)
narshu 25:143b19c1fb05 113 TVMET_DECLARE_MACRO(jn, double)
narshu 25:143b19c1fb05 114 TVMET_DECLARE_MACRO(yn, double)
narshu 25:143b19c1fb05 115 TVMET_DECLARE_MACRO(pow, double)
narshu 25:143b19c1fb05 116
narshu 25:143b19c1fb05 117 #if defined(TVMET_HAVE_LONG_DOUBLE)
narshu 25:143b19c1fb05 118 TVMET_DECLARE_MACRO(atan2, long double)
narshu 25:143b19c1fb05 119 TVMET_DECLARE_MACRO(drem, long double)
narshu 25:143b19c1fb05 120 TVMET_DECLARE_MACRO(fmod, long double)
narshu 25:143b19c1fb05 121 TVMET_DECLARE_MACRO(hypot, long double)
narshu 25:143b19c1fb05 122 TVMET_DECLARE_MACRO(jn, long double)
narshu 25:143b19c1fb05 123 TVMET_DECLARE_MACRO(yn, long double)
narshu 25:143b19c1fb05 124 TVMET_DECLARE_MACRO(pow, long double)
narshu 25:143b19c1fb05 125 #endif // defined(TVMET_HAVE_LONG_DOUBLE)
narshu 25:143b19c1fb05 126
narshu 25:143b19c1fb05 127 #undef TVMET_DECLARE_MACRO
narshu 25:143b19c1fb05 128
narshu 25:143b19c1fb05 129
narshu 25:143b19c1fb05 130 #if defined(TVMET_HAVE_COMPLEX)
narshu 25:143b19c1fb05 131 /*
narshu 25:143b19c1fb05 132 * binary_function(XprVector<E, Sz>, std::complex<>)
narshu 25:143b19c1fb05 133 */
narshu 25:143b19c1fb05 134 #define TVMET_DECLARE_MACRO(NAME) \
narshu 25:143b19c1fb05 135 template<class E, std::size_t Sz, class T> \
narshu 25:143b19c1fb05 136 inline \
narshu 25:143b19c1fb05 137 XprVector< \
narshu 25:143b19c1fb05 138 XprBinOp< \
narshu 25:143b19c1fb05 139 Fcnl_##NAME<typename E::value_type, std::complex<T> >, \
narshu 25:143b19c1fb05 140 XprVector<E, Sz>, \
narshu 25:143b19c1fb05 141 XprLiteral< std::complex<T> > \
narshu 25:143b19c1fb05 142 >, \
narshu 25:143b19c1fb05 143 Sz \
narshu 25:143b19c1fb05 144 > \
narshu 25:143b19c1fb05 145 NAME(const XprVector<E, Sz>& lhs, \
narshu 25:143b19c1fb05 146 const std::complex<T>& rhs) TVMET_CXX_ALWAYS_INLINE;
narshu 25:143b19c1fb05 147
narshu 25:143b19c1fb05 148 TVMET_DECLARE_MACRO(atan2)
narshu 25:143b19c1fb05 149 TVMET_DECLARE_MACRO(drem)
narshu 25:143b19c1fb05 150 TVMET_DECLARE_MACRO(fmod)
narshu 25:143b19c1fb05 151 TVMET_DECLARE_MACRO(hypot)
narshu 25:143b19c1fb05 152 TVMET_DECLARE_MACRO(jn)
narshu 25:143b19c1fb05 153 TVMET_DECLARE_MACRO(yn)
narshu 25:143b19c1fb05 154 TVMET_DECLARE_MACRO(pow)
narshu 25:143b19c1fb05 155
narshu 25:143b19c1fb05 156 #undef TVMET_DECLARE_MACRO
narshu 25:143b19c1fb05 157
narshu 25:143b19c1fb05 158 #endif // defined(TVMET_HAVE_COMPLEX)
narshu 25:143b19c1fb05 159
narshu 25:143b19c1fb05 160
narshu 25:143b19c1fb05 161 /*********************************************************
narshu 25:143b19c1fb05 162 * PART II: IMPLEMENTATION
narshu 25:143b19c1fb05 163 *********************************************************/
narshu 25:143b19c1fb05 164
narshu 25:143b19c1fb05 165
narshu 25:143b19c1fb05 166 /*
narshu 25:143b19c1fb05 167 * binary_function(XprVector<E1, Sz>, XprVector<E2, Sz>)
narshu 25:143b19c1fb05 168 */
narshu 25:143b19c1fb05 169 #define TVMET_IMPLEMENT_MACRO(NAME) \
narshu 25:143b19c1fb05 170 template<class E1, class E2, std::size_t Sz> \
narshu 25:143b19c1fb05 171 inline \
narshu 25:143b19c1fb05 172 XprVector< \
narshu 25:143b19c1fb05 173 XprBinOp< \
narshu 25:143b19c1fb05 174 Fcnl_##NAME<typename E1::value_type, typename E2::value_type>, \
narshu 25:143b19c1fb05 175 XprVector<E1, Sz>, \
narshu 25:143b19c1fb05 176 XprVector<E2, Sz> \
narshu 25:143b19c1fb05 177 >, \
narshu 25:143b19c1fb05 178 Sz \
narshu 25:143b19c1fb05 179 > \
narshu 25:143b19c1fb05 180 NAME(const XprVector<E1, Sz>& lhs, const XprVector<E2, Sz>& rhs) { \
narshu 25:143b19c1fb05 181 typedef XprBinOp< \
narshu 25:143b19c1fb05 182 Fcnl_##NAME<typename E1::value_type, typename E2::value_type>, \
narshu 25:143b19c1fb05 183 XprVector<E1, Sz>, \
narshu 25:143b19c1fb05 184 XprVector<E2, Sz> \
narshu 25:143b19c1fb05 185 > expr_type; \
narshu 25:143b19c1fb05 186 return XprVector<expr_type, Sz>( \
narshu 25:143b19c1fb05 187 expr_type(lhs, rhs)); \
narshu 25:143b19c1fb05 188 }
narshu 25:143b19c1fb05 189
narshu 25:143b19c1fb05 190 TVMET_IMPLEMENT_MACRO(atan2)
narshu 25:143b19c1fb05 191 TVMET_IMPLEMENT_MACRO(drem)
narshu 25:143b19c1fb05 192 TVMET_IMPLEMENT_MACRO(fmod)
narshu 25:143b19c1fb05 193 TVMET_IMPLEMENT_MACRO(hypot)
narshu 25:143b19c1fb05 194 TVMET_IMPLEMENT_MACRO(jn)
narshu 25:143b19c1fb05 195 TVMET_IMPLEMENT_MACRO(yn)
narshu 25:143b19c1fb05 196 TVMET_IMPLEMENT_MACRO(pow)
narshu 25:143b19c1fb05 197 #if defined(TVMET_HAVE_COMPLEX)
narshu 25:143b19c1fb05 198 TVMET_IMPLEMENT_MACRO(polar)
narshu 25:143b19c1fb05 199 #endif
narshu 25:143b19c1fb05 200
narshu 25:143b19c1fb05 201 #undef TVMET_IMPLEMENT_MACRO
narshu 25:143b19c1fb05 202
narshu 25:143b19c1fb05 203
narshu 25:143b19c1fb05 204 /*
narshu 25:143b19c1fb05 205 * binary_function(XprVector<E, Sz>, POD)
narshu 25:143b19c1fb05 206 */
narshu 25:143b19c1fb05 207 #define TVMET_IMPLEMENT_MACRO(NAME, TP) \
narshu 25:143b19c1fb05 208 template<class E, std::size_t Sz> \
narshu 25:143b19c1fb05 209 inline \
narshu 25:143b19c1fb05 210 XprVector< \
narshu 25:143b19c1fb05 211 XprBinOp< \
narshu 25:143b19c1fb05 212 Fcnl_##NAME<typename E::value_type, TP >, \
narshu 25:143b19c1fb05 213 XprVector<E, Sz>, \
narshu 25:143b19c1fb05 214 XprLiteral< TP > \
narshu 25:143b19c1fb05 215 >, \
narshu 25:143b19c1fb05 216 Sz \
narshu 25:143b19c1fb05 217 > \
narshu 25:143b19c1fb05 218 NAME(const XprVector<E, Sz>& lhs, TP rhs) { \
narshu 25:143b19c1fb05 219 typedef XprBinOp< \
narshu 25:143b19c1fb05 220 Fcnl_##NAME<typename E::value_type, TP >, \
narshu 25:143b19c1fb05 221 XprVector<E, Sz>, \
narshu 25:143b19c1fb05 222 XprLiteral< TP > \
narshu 25:143b19c1fb05 223 > expr_type; \
narshu 25:143b19c1fb05 224 return XprVector<expr_type, Sz>( \
narshu 25:143b19c1fb05 225 expr_type(lhs, XprLiteral< TP >(rhs))); \
narshu 25:143b19c1fb05 226 }
narshu 25:143b19c1fb05 227
narshu 25:143b19c1fb05 228 TVMET_IMPLEMENT_MACRO(atan2, int)
narshu 25:143b19c1fb05 229 TVMET_IMPLEMENT_MACRO(drem, int)
narshu 25:143b19c1fb05 230 TVMET_IMPLEMENT_MACRO(fmod, int)
narshu 25:143b19c1fb05 231 TVMET_IMPLEMENT_MACRO(hypot, int)
narshu 25:143b19c1fb05 232 TVMET_IMPLEMENT_MACRO(jn, int)
narshu 25:143b19c1fb05 233 TVMET_IMPLEMENT_MACRO(yn, int)
narshu 25:143b19c1fb05 234 TVMET_IMPLEMENT_MACRO(pow, int)
narshu 25:143b19c1fb05 235
narshu 25:143b19c1fb05 236 #if defined(TVMET_HAVE_LONG_LONG)
narshu 25:143b19c1fb05 237 TVMET_IMPLEMENT_MACRO(atan2, long long int)
narshu 25:143b19c1fb05 238 TVMET_IMPLEMENT_MACRO(drem, long long int)
narshu 25:143b19c1fb05 239 TVMET_IMPLEMENT_MACRO(fmod, long long int)
narshu 25:143b19c1fb05 240 TVMET_IMPLEMENT_MACRO(hypot, long long int)
narshu 25:143b19c1fb05 241 TVMET_IMPLEMENT_MACRO(jn, long long int)
narshu 25:143b19c1fb05 242 TVMET_IMPLEMENT_MACRO(yn, long long int)
narshu 25:143b19c1fb05 243 TVMET_IMPLEMENT_MACRO(pow, long long int)
narshu 25:143b19c1fb05 244 #endif // defined(TVMET_HAVE_LONG_LONG)
narshu 25:143b19c1fb05 245
narshu 25:143b19c1fb05 246 TVMET_IMPLEMENT_MACRO(atan2, float)
narshu 25:143b19c1fb05 247 TVMET_IMPLEMENT_MACRO(drem, float)
narshu 25:143b19c1fb05 248 TVMET_IMPLEMENT_MACRO(fmod, float)
narshu 25:143b19c1fb05 249 TVMET_IMPLEMENT_MACRO(hypot, float)
narshu 25:143b19c1fb05 250 TVMET_IMPLEMENT_MACRO(jn, float)
narshu 25:143b19c1fb05 251 TVMET_IMPLEMENT_MACRO(yn, float)
narshu 25:143b19c1fb05 252 TVMET_IMPLEMENT_MACRO(pow, float)
narshu 25:143b19c1fb05 253
narshu 25:143b19c1fb05 254 TVMET_IMPLEMENT_MACRO(atan2, double)
narshu 25:143b19c1fb05 255 TVMET_IMPLEMENT_MACRO(drem, double)
narshu 25:143b19c1fb05 256 TVMET_IMPLEMENT_MACRO(fmod, double)
narshu 25:143b19c1fb05 257 TVMET_IMPLEMENT_MACRO(hypot, double)
narshu 25:143b19c1fb05 258 TVMET_IMPLEMENT_MACRO(jn, double)
narshu 25:143b19c1fb05 259 TVMET_IMPLEMENT_MACRO(yn, double)
narshu 25:143b19c1fb05 260 TVMET_IMPLEMENT_MACRO(pow, double)
narshu 25:143b19c1fb05 261
narshu 25:143b19c1fb05 262 #if defined(TVMET_HAVE_LONG_DOUBLE)
narshu 25:143b19c1fb05 263 TVMET_IMPLEMENT_MACRO(atan2, long double)
narshu 25:143b19c1fb05 264 TVMET_IMPLEMENT_MACRO(drem, long double)
narshu 25:143b19c1fb05 265 TVMET_IMPLEMENT_MACRO(fmod, long double)
narshu 25:143b19c1fb05 266 TVMET_IMPLEMENT_MACRO(hypot, long double)
narshu 25:143b19c1fb05 267 TVMET_IMPLEMENT_MACRO(jn, long double)
narshu 25:143b19c1fb05 268 TVMET_IMPLEMENT_MACRO(yn, long double)
narshu 25:143b19c1fb05 269 TVMET_IMPLEMENT_MACRO(pow, long double)
narshu 25:143b19c1fb05 270 #endif // defined(TVMET_HAVE_LONG_DOUBLE)
narshu 25:143b19c1fb05 271
narshu 25:143b19c1fb05 272 #undef TVMET_IMPLEMENT_MACRO
narshu 25:143b19c1fb05 273
narshu 25:143b19c1fb05 274
narshu 25:143b19c1fb05 275 #if defined(TVMET_HAVE_COMPLEX)
narshu 25:143b19c1fb05 276 /*
narshu 25:143b19c1fb05 277 * binary_function(XprVector<E, Sz>, std::complex<>)
narshu 25:143b19c1fb05 278 */
narshu 25:143b19c1fb05 279 #define TVMET_IMPLEMENT_MACRO(NAME) \
narshu 25:143b19c1fb05 280 template<class E, std::size_t Sz, class T> \
narshu 25:143b19c1fb05 281 inline \
narshu 25:143b19c1fb05 282 XprVector< \
narshu 25:143b19c1fb05 283 XprBinOp< \
narshu 25:143b19c1fb05 284 Fcnl_##NAME<typename E::value_type, std::complex<T> >, \
narshu 25:143b19c1fb05 285 XprVector<E, Sz>, \
narshu 25:143b19c1fb05 286 XprLiteral< std::complex<T> > \
narshu 25:143b19c1fb05 287 >, \
narshu 25:143b19c1fb05 288 Sz \
narshu 25:143b19c1fb05 289 > \
narshu 25:143b19c1fb05 290 NAME(const XprVector<E, Sz>& lhs, const std::complex<T>& rhs) { \
narshu 25:143b19c1fb05 291 typedef XprBinOp< \
narshu 25:143b19c1fb05 292 Fcnl_##NAME<typename E::value_type, std::complex<T> >, \
narshu 25:143b19c1fb05 293 XprVector<E, Sz>, \
narshu 25:143b19c1fb05 294 XprLiteral< std::complex<T> > \
narshu 25:143b19c1fb05 295 > expr_type; \
narshu 25:143b19c1fb05 296 return XprVector<expr_type, Sz>( \
narshu 25:143b19c1fb05 297 expr_type(lhs, XprLiteral< std::complex<T> >(rhs))); \
narshu 25:143b19c1fb05 298 }
narshu 25:143b19c1fb05 299
narshu 25:143b19c1fb05 300 TVMET_IMPLEMENT_MACRO(atan2)
narshu 25:143b19c1fb05 301 TVMET_IMPLEMENT_MACRO(drem)
narshu 25:143b19c1fb05 302 TVMET_IMPLEMENT_MACRO(fmod)
narshu 25:143b19c1fb05 303 TVMET_IMPLEMENT_MACRO(hypot)
narshu 25:143b19c1fb05 304 TVMET_IMPLEMENT_MACRO(jn)
narshu 25:143b19c1fb05 305 TVMET_IMPLEMENT_MACRO(yn)
narshu 25:143b19c1fb05 306 TVMET_IMPLEMENT_MACRO(pow)
narshu 25:143b19c1fb05 307
narshu 25:143b19c1fb05 308 #undef TVMET_IMPLEMENT_MACRO
narshu 25:143b19c1fb05 309
narshu 25:143b19c1fb05 310 #endif // defined(TVMET_HAVE_COMPLEX)
narshu 25:143b19c1fb05 311
narshu 25:143b19c1fb05 312
narshu 25:143b19c1fb05 313 } // namespace tvmet
narshu 25:143b19c1fb05 314
narshu 25:143b19c1fb05 315 #endif // TVMET_XPR_VECTOR_BINARY_FUNCTIONS_H
narshu 25:143b19c1fb05 316
narshu 25:143b19c1fb05 317 // Local Variables:
narshu 25:143b19c1fb05 318 // mode:C++
narshu 25:143b19c1fb05 319 // tab-width:8
narshu 25:143b19c1fb05 320 // End: