ICRS Eurobot 2013

Dependencies:   mbed mbed-rtos Servo QEI

Committer:
madcowswe
Date:
Tue Apr 09 15:33:36 2013 +0000
Revision:
20:70d651156779
Parent:
15:9c5aaeda36dc
Predict loop running, update loop not done.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
madcowswe 15:9c5aaeda36dc 1 /*
madcowswe 15:9c5aaeda36dc 2 * Tiny Vector Matrix Library
madcowswe 15:9c5aaeda36dc 3 * Dense Vector Matrix Libary of Tiny size using Expression Templates
madcowswe 15:9c5aaeda36dc 4 *
madcowswe 15:9c5aaeda36dc 5 * Copyright (C) 2001 - 2003 Olaf Petzold <opetzold@users.sourceforge.net>
madcowswe 15:9c5aaeda36dc 6 *
madcowswe 15:9c5aaeda36dc 7 * This library is free software; you can redistribute it and/or
madcowswe 15:9c5aaeda36dc 8 * modify it under the terms of the GNU Lesser General Public
madcowswe 15:9c5aaeda36dc 9 * License as published by the Free Software Foundation; either
madcowswe 15:9c5aaeda36dc 10 * version 2.1 of the License, or (at your option) any later version.
madcowswe 15:9c5aaeda36dc 11 *
madcowswe 15:9c5aaeda36dc 12 * This library is distributed in the hope that it will be useful,
madcowswe 15:9c5aaeda36dc 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
madcowswe 15:9c5aaeda36dc 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
madcowswe 15:9c5aaeda36dc 15 * Lesser General Public License for more details.
madcowswe 15:9c5aaeda36dc 16 *
madcowswe 15:9c5aaeda36dc 17 * You should have received a copy of the GNU Lesser General Public
madcowswe 15:9c5aaeda36dc 18 * License along with this library; if not, write to the Free Software
madcowswe 15:9c5aaeda36dc 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
madcowswe 15:9c5aaeda36dc 20 *
madcowswe 15:9c5aaeda36dc 21 * $Id: config-vc71.h.in,v 1.2 2004-11-04 16:47:12 opetzold Exp $
madcowswe 15:9c5aaeda36dc 22 */
madcowswe 15:9c5aaeda36dc 23
madcowswe 15:9c5aaeda36dc 24 #ifndef TVMET_CONFIG_VC71_H
madcowswe 15:9c5aaeda36dc 25 #define TVMET_CONFIG_VC71_H
madcowswe 15:9c5aaeda36dc 26
madcowswe 15:9c5aaeda36dc 27
madcowswe 15:9c5aaeda36dc 28 /*******************************************************************
madcowswe 15:9c5aaeda36dc 29 * equivalent hand made header to configure.ac's autoheader.
madcowswe 15:9c5aaeda36dc 30 ******************************************************************/
madcowswe 15:9c5aaeda36dc 31
madcowswe 15:9c5aaeda36dc 32
madcowswe 15:9c5aaeda36dc 33 /* define if the compiler has complex<T> */
madcowswe 15:9c5aaeda36dc 34 #ifndef TVMET_HAVE_COMPLEX
madcowswe 15:9c5aaeda36dc 35 #define TVMET_HAVE_COMPLEX 1
madcowswe 15:9c5aaeda36dc 36 #endif
madcowswe 15:9c5aaeda36dc 37
madcowswe 15:9c5aaeda36dc 38 /* define if the compiler has complex math functions */
madcowswe 15:9c5aaeda36dc 39 #ifndef TVMET_HAVE_COMPLEX_MATH1
madcowswe 15:9c5aaeda36dc 40 #define TVMET_HAVE_COMPLEX_MATH1 1
madcowswe 15:9c5aaeda36dc 41 #endif
madcowswe 15:9c5aaeda36dc 42
madcowswe 15:9c5aaeda36dc 43 /* define if the compiler has more complex math functions */
madcowswe 15:9c5aaeda36dc 44 /* #undef TVMET_HAVE_COMPLEX_MATH2 */
madcowswe 15:9c5aaeda36dc 45
madcowswe 15:9c5aaeda36dc 46 /* Define to 1 if you have the <dlfcn.h> header file. */
madcowswe 15:9c5aaeda36dc 47 #ifdef TVMET_HAVE_DLFCN_H
madcowswe 15:9c5aaeda36dc 48 #undef TVMET_HAVE_DLFCN_H
madcowswe 15:9c5aaeda36dc 49 #endif
madcowswe 15:9c5aaeda36dc 50
madcowswe 15:9c5aaeda36dc 51 /* Define to 1 if you have the `floor' function. */
madcowswe 15:9c5aaeda36dc 52 #ifndef TVMET_HAVE_FLOOR
madcowswe 15:9c5aaeda36dc 53 #define TVMET_HAVE_FLOOR 1
madcowswe 15:9c5aaeda36dc 54 #endif
madcowswe 15:9c5aaeda36dc 55
madcowswe 15:9c5aaeda36dc 56 /* Define if the compiler supports IEEE math library */
madcowswe 15:9c5aaeda36dc 57 #ifndef TVMET_HAVE_IEEE_MATH
madcowswe 15:9c5aaeda36dc 58 #define TVMET_HAVE_IEEE_MATH 1
madcowswe 15:9c5aaeda36dc 59 #endif
madcowswe 15:9c5aaeda36dc 60
madcowswe 15:9c5aaeda36dc 61 /* Define to 1 if you have the <inttypes.h> header file. */
madcowswe 15:9c5aaeda36dc 62 #ifdef TVMET_HAVE_INTTYPES_H
madcowswe 15:9c5aaeda36dc 63 #undef TVMET_HAVE_INTTYPES_H
madcowswe 15:9c5aaeda36dc 64 #endif
madcowswe 15:9c5aaeda36dc 65
madcowswe 15:9c5aaeda36dc 66 /* Define to 1 if you have the `dl' library (-ldl). */
madcowswe 15:9c5aaeda36dc 67 #ifdef TVMET_HAVE_LIBDL
madcowswe 15:9c5aaeda36dc 68 #undef TVMET_HAVE_LIBDL
madcowswe 15:9c5aaeda36dc 69 #endif
madcowswe 15:9c5aaeda36dc 70
madcowswe 15:9c5aaeda36dc 71 /* Define to 1 if long double works and has more range or precision than
madcowswe 15:9c5aaeda36dc 72 double. */
madcowswe 15:9c5aaeda36dc 73 #ifndef TVMET_HAVE_LONG_DOUBLE
madcowswe 15:9c5aaeda36dc 74 #define TVMET_HAVE_LONG_DOUBLE 1
madcowswe 15:9c5aaeda36dc 75 #endif
madcowswe 15:9c5aaeda36dc 76
madcowswe 15:9c5aaeda36dc 77 /* Define if the compiler supports the long_long type */
madcowswe 15:9c5aaeda36dc 78 // enable MS extension for long long
madcowswe 15:9c5aaeda36dc 79 #ifndef TVMET_HAVE_LONG_LONG
madcowswe 15:9c5aaeda36dc 80 #define TVMET_HAVE_LONG_LONG 1
madcowswe 15:9c5aaeda36dc 81 #endif
madcowswe 15:9c5aaeda36dc 82
madcowswe 15:9c5aaeda36dc 83 /* Define to 1 if you have the <memory.h> header file. */
madcowswe 15:9c5aaeda36dc 84 #ifndef TVMET_HAVE_MEMORY_H
madcowswe 15:9c5aaeda36dc 85 #define TVMET_HAVE_MEMORY_H 1
madcowswe 15:9c5aaeda36dc 86 #endif
madcowswe 15:9c5aaeda36dc 87
madcowswe 15:9c5aaeda36dc 88 /* Define if the compiler supports the mutable keyword */
madcowswe 15:9c5aaeda36dc 89 #ifndef TVMET_HAVE_MUTABLE
madcowswe 15:9c5aaeda36dc 90 #define TVMET_HAVE_MUTABLE 1
madcowswe 15:9c5aaeda36dc 91 #endif
madcowswe 15:9c5aaeda36dc 92
madcowswe 15:9c5aaeda36dc 93 /* Define if the compiler implements namespaces */
madcowswe 15:9c5aaeda36dc 94 #ifndef TVMET_HAVE_NAMESPACES
madcowswe 15:9c5aaeda36dc 95 #define TVMET_HAVE_NAMESPACES 1
madcowswe 15:9c5aaeda36dc 96 #endif
madcowswe 15:9c5aaeda36dc 97
madcowswe 15:9c5aaeda36dc 98 /* Define if the compiler supports partial specialization */
madcowswe 15:9c5aaeda36dc 99 #ifndef TVMET_HAVE_PARTIAL_SPECIALIZATION
madcowswe 15:9c5aaeda36dc 100 #define TVMET_HAVE_PARTIAL_SPECIALIZATION 1
madcowswe 15:9c5aaeda36dc 101 #endif
madcowswe 15:9c5aaeda36dc 102
madcowswe 15:9c5aaeda36dc 103 /* Define to 1 if you have the `pow' function. */
madcowswe 15:9c5aaeda36dc 104 #ifndef TVMET_HAVE_POW
madcowswe 15:9c5aaeda36dc 105 #define TVMET_HAVE_POW 1
madcowswe 15:9c5aaeda36dc 106 #endif
madcowswe 15:9c5aaeda36dc 107
madcowswe 15:9c5aaeda36dc 108 /* Define to 1 if you have the `rint' function. */
madcowswe 15:9c5aaeda36dc 109
madcowswe 15:9c5aaeda36dc 110 #ifdef TVMET_HAVE_RINT
madcowswe 15:9c5aaeda36dc 111 #undef TVMET_HAVE_RINT
madcowswe 15:9c5aaeda36dc 112 #endif
madcowswe 15:9c5aaeda36dc 113
madcowswe 15:9c5aaeda36dc 114 /* Define to 1 if you have the `sqrt' function. */
madcowswe 15:9c5aaeda36dc 115 #ifndef TVMET_HAVE_SQRT
madcowswe 15:9c5aaeda36dc 116 #define TVMET_HAVE_SQRT 1
madcowswe 15:9c5aaeda36dc 117 #endif
madcowswe 15:9c5aaeda36dc 118
madcowswe 15:9c5aaeda36dc 119 /* Define to 1 if stdbool.h conforms to C99. */
madcowswe 15:9c5aaeda36dc 120 /* #undef TVMET_HAVE_STDBOOL_H */
madcowswe 15:9c5aaeda36dc 121
madcowswe 15:9c5aaeda36dc 122 /* Define to 1 if you have the <stdint.h> header file. */
madcowswe 15:9c5aaeda36dc 123 #ifdef TVMET_HAVE_STDINT_H
madcowswe 15:9c5aaeda36dc 124 #undef TVMET_HAVE_STDINT_H
madcowswe 15:9c5aaeda36dc 125 #endif
madcowswe 15:9c5aaeda36dc 126
madcowswe 15:9c5aaeda36dc 127 /* Define to 1 if you have the <stdlib.h> header file. */
madcowswe 15:9c5aaeda36dc 128 #ifndef TVMET_HAVE_STDLIB_H
madcowswe 15:9c5aaeda36dc 129 #define TVMET_HAVE_STDLIB_H 1
madcowswe 15:9c5aaeda36dc 130 #endif
madcowswe 15:9c5aaeda36dc 131
madcowswe 15:9c5aaeda36dc 132 /* Define to 1 if you have the <strings.h> header file. */
madcowswe 15:9c5aaeda36dc 133 #ifdef TVMET_HAVE_STRINGS_H
madcowswe 15:9c5aaeda36dc 134 #undef TVMET_HAVE_STRINGS_H
madcowswe 15:9c5aaeda36dc 135 #endif
madcowswe 15:9c5aaeda36dc 136
madcowswe 15:9c5aaeda36dc 137 /* Define to 1 if you have the <string.h> header file. */
madcowswe 15:9c5aaeda36dc 138 #ifndef TVMET_HAVE_STRING_H
madcowswe 15:9c5aaeda36dc 139 #define TVMET_HAVE_STRING_H 1
madcowswe 15:9c5aaeda36dc 140 #endif
madcowswe 15:9c5aaeda36dc 141
madcowswe 15:9c5aaeda36dc 142 /* Define if the compiler supports SYSV math library */
madcowswe 15:9c5aaeda36dc 143 /* #undef TVMET_HAVE_SYSV_MATH */
madcowswe 15:9c5aaeda36dc 144
madcowswe 15:9c5aaeda36dc 145 /* Define to 1 if you have the <sys/stat.h> header file. */
madcowswe 15:9c5aaeda36dc 146 #ifdef TVMET_HAVE_SYS_STAT_H
madcowswe 15:9c5aaeda36dc 147 #undef TVMET_HAVE_SYS_STAT_H
madcowswe 15:9c5aaeda36dc 148 #endif
madcowswe 15:9c5aaeda36dc 149
madcowswe 15:9c5aaeda36dc 150 /* Define to 1 if you have the <sys/time.h> header file. */
madcowswe 15:9c5aaeda36dc 151 #ifdef TVMET_HAVE_SYS_TIME_H
madcowswe 15:9c5aaeda36dc 152 #undef TVMET_HAVE_SYS_TIME_H
madcowswe 15:9c5aaeda36dc 153 #endif
madcowswe 15:9c5aaeda36dc 154
madcowswe 15:9c5aaeda36dc 155 /* Define to 1 if you have the <sys/types.h> header file. */
madcowswe 15:9c5aaeda36dc 156 #ifdef TVMET_HAVE_SYS_TYPES_H
madcowswe 15:9c5aaeda36dc 157 #undef TVMET_HAVE_SYS_TYPES_H
madcowswe 15:9c5aaeda36dc 158 #endif
madcowswe 15:9c5aaeda36dc 159
madcowswe 15:9c5aaeda36dc 160 /* Define if the compiler recognizes typename */
madcowswe 15:9c5aaeda36dc 161 #ifndef TVMET_HAVE_TYPENAME
madcowswe 15:9c5aaeda36dc 162 #define TVMET_HAVE_TYPENAME 1
madcowswe 15:9c5aaeda36dc 163 #endif
madcowswe 15:9c5aaeda36dc 164
madcowswe 15:9c5aaeda36dc 165 /* Define to 1 if you have the <unistd.h> header file. */
madcowswe 15:9c5aaeda36dc 166 #ifdef TVMET_HAVE_UNISTD_H
madcowswe 15:9c5aaeda36dc 167 #undef TVMET_HAVE_UNISTD_H
madcowswe 15:9c5aaeda36dc 168 #endif
madcowswe 15:9c5aaeda36dc 169
madcowswe 15:9c5aaeda36dc 170 /* Define to 1 if the system has the type `_Bool'. */
madcowswe 15:9c5aaeda36dc 171 /* #undef TVMET_HAVE__BOOL */
madcowswe 15:9c5aaeda36dc 172
madcowswe 15:9c5aaeda36dc 173 /* Define to the address where bug reports for this package should be sent. */
madcowswe 15:9c5aaeda36dc 174 #ifndef TVMET_PACKAGE_BUGREPORT
madcowswe 15:9c5aaeda36dc 175 #define TVMET_PACKAGE_BUGREPORT "opetzold@users.sourceforge.net"
madcowswe 15:9c5aaeda36dc 176 #endif
madcowswe 15:9c5aaeda36dc 177
madcowswe 15:9c5aaeda36dc 178 /* Define to the full name of this package. */
madcowswe 15:9c5aaeda36dc 179 #ifndef TVMET_PACKAGE_NAME
madcowswe 15:9c5aaeda36dc 180 #define TVMET_PACKAGE_NAME "tvmet"
madcowswe 15:9c5aaeda36dc 181 #endif
madcowswe 15:9c5aaeda36dc 182
madcowswe 15:9c5aaeda36dc 183 /* Define to the full name and version of this package. */
madcowswe 15:9c5aaeda36dc 184 #ifndef TVMET_PACKAGE_STRING
madcowswe 15:9c5aaeda36dc 185 #define TVMET_PACKAGE_STRING "tvmet 1.7.2"
madcowswe 15:9c5aaeda36dc 186 #endif
madcowswe 15:9c5aaeda36dc 187
madcowswe 15:9c5aaeda36dc 188 /* Define to the one symbol short name of this package. */
madcowswe 15:9c5aaeda36dc 189 #ifndef TVMET_PACKAGE_TARNAME
madcowswe 15:9c5aaeda36dc 190 #define TVMET_PACKAGE_TARNAME "tvmet"
madcowswe 15:9c5aaeda36dc 191 #endif
madcowswe 15:9c5aaeda36dc 192
madcowswe 15:9c5aaeda36dc 193 /* Define to the version of this package. */
madcowswe 15:9c5aaeda36dc 194 #ifndef TVMET_PACKAGE_VERSION
madcowswe 15:9c5aaeda36dc 195 #define TVMET_PACKAGE_VERSION "1.7.2"
madcowswe 15:9c5aaeda36dc 196 #endif
madcowswe 15:9c5aaeda36dc 197
madcowswe 15:9c5aaeda36dc 198 /* Define to 1 if you have the ANSI C header files. */
madcowswe 15:9c5aaeda36dc 199 #ifndef TVMET_STDC_HEADERS
madcowswe 15:9c5aaeda36dc 200 #define TVMET_STDC_HEADERS 1
madcowswe 15:9c5aaeda36dc 201 #endif
madcowswe 15:9c5aaeda36dc 202
madcowswe 15:9c5aaeda36dc 203 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
madcowswe 15:9c5aaeda36dc 204 /* #undef TVMET_TM_IN_SYS_TIME */
madcowswe 15:9c5aaeda36dc 205
madcowswe 15:9c5aaeda36dc 206 /* Define to empty if `const' does not conform to ANSI C. */
madcowswe 15:9c5aaeda36dc 207 /* #undef _tvmet_const */
madcowswe 15:9c5aaeda36dc 208
madcowswe 15:9c5aaeda36dc 209 /* Define to `__inline__' or `__inline' if that's what the C compiler
madcowswe 15:9c5aaeda36dc 210 calls it, or to nothing if 'inline' is not supported under any name. */
madcowswe 15:9c5aaeda36dc 211 #ifndef __cplusplus
madcowswe 15:9c5aaeda36dc 212 /* #undef _tvmet_inline */
madcowswe 15:9c5aaeda36dc 213 #endif
madcowswe 15:9c5aaeda36dc 214
madcowswe 15:9c5aaeda36dc 215 /* Define to equivalent of C99 restrict keyword, or to nothing if this is not
madcowswe 15:9c5aaeda36dc 216 supported. Do not define if restrict is supported directly. */
madcowswe 15:9c5aaeda36dc 217 // unfortunally, VC++ 7.1 doesn't have restrict.
madcowswe 15:9c5aaeda36dc 218 #ifndef _tvmet_restrict
madcowswe 15:9c5aaeda36dc 219 #define _tvmet_restrict
madcowswe 15:9c5aaeda36dc 220 #endif
madcowswe 15:9c5aaeda36dc 221
madcowswe 15:9c5aaeda36dc 222 /* Define to `unsigned' if <sys/types.h> does not define. */
madcowswe 15:9c5aaeda36dc 223 /* #undef _tvmet_size_t */
madcowswe 15:9c5aaeda36dc 224
madcowswe 15:9c5aaeda36dc 225
madcowswe 15:9c5aaeda36dc 226
madcowswe 15:9c5aaeda36dc 227 /*******************************************************************
madcowswe 15:9c5aaeda36dc 228 * tvmet's config for special handling on MS VC
madcowswe 15:9c5aaeda36dc 229 ******************************************************************/
madcowswe 15:9c5aaeda36dc 230
madcowswe 15:9c5aaeda36dc 231
madcowswe 15:9c5aaeda36dc 232 #if defined(_MSC_VER)
madcowswe 15:9c5aaeda36dc 233
madcowswe 15:9c5aaeda36dc 234 /* The undefined case of TVMET_CXX_ALWAYS_INLINE is handled inside
madcowswe 15:9c5aaeda36dc 235 * tvmet.h, so there there is no need to do this here! */
madcowswe 15:9c5aaeda36dc 236
madcowswe 15:9c5aaeda36dc 237 #else // !defined(_MSC_VER)
madcowswe 15:9c5aaeda36dc 238
madcowswe 15:9c5aaeda36dc 239 // paranoia
madcowswe 15:9c5aaeda36dc 240 # warning "config header for MS VC 7.1 included without defined _MSC_VER"
madcowswe 15:9c5aaeda36dc 241
madcowswe 15:9c5aaeda36dc 242 #endif
madcowswe 15:9c5aaeda36dc 243
madcowswe 15:9c5aaeda36dc 244 #endif // TVMET_CONFIG_VC71_H
madcowswe 15:9c5aaeda36dc 245
madcowswe 15:9c5aaeda36dc 246 // Local Variables:
madcowswe 15:9c5aaeda36dc 247 // mode:C++
madcowswe 15:9c5aaeda36dc 248 // End:
madcowswe 15:9c5aaeda36dc 249 // LocalWords: autoheader