|
Blender
V2.59
|
00001 00005 /* 00006 00007 * 00008 * Template Numerical Toolkit (TNT): Linear Algebra Module 00009 * 00010 * Mathematical and Computational Sciences Division 00011 * National Institute of Technology, 00012 * Gaithersburg, MD USA 00013 * 00014 * 00015 * This software was developed at the National Institute of Standards and 00016 * Technology (NIST) by employees of the Federal Government in the course 00017 * of their official duties. Pursuant to title 17 Section 105 of the 00018 * United States Code, this software is not subject to copyright protection 00019 * and is in the public domain. The Template Numerical Toolkit (TNT) is 00020 * an experimental system. NIST assumes no responsibility whatsoever for 00021 * its use by other parties, and makes no guarantees, expressed or implied, 00022 * about its quality, reliability, or any other characteristic. 00023 * 00024 * BETA VERSION INCOMPLETE AND SUBJECT TO CHANGE 00025 * see http://math.nist.gov/tnt for latest updates. 00026 * 00027 */ 00028 00029 00030 #ifndef TNT_H 00031 #define TNT_H 00032 00033 //--------------------------------------------------------------------- 00034 // tnt.h TNT general header file. Defines default types 00035 // and conventions. 00036 //--------------------------------------------------------------------- 00037 00038 //--------------------------------------------------------------------- 00039 // Include current version 00040 //--------------------------------------------------------------------- 00041 #include "version.h" 00042 00043 //--------------------------------------------------------------------- 00044 // Define the data type used for matrix and vector Subscripts. 00045 // This will default to "int", but it can be overriden at compile time, 00046 // e.g. 00047 // 00048 // g++ -DTNT_SUBSCRIPT_TYPE='unsinged long' ... 00049 // 00050 // See subscript.h for details. 00051 //--------------------------------------------------------------------- 00052 00053 #include "subscript.h" 00054 00055 00056 00057 //--------------------------------------------------------------------- 00058 // Define this macro if you want TNT to ensure all refernces 00059 // are within the bounds of the array. This encurs a run-time 00060 // overhead, of course, but is recommended while developing 00061 // code. It can be turned off for production runs. 00062 // 00063 // #define TNT_BOUNDS_CHECK 00064 //--------------------------------------------------------------------- 00065 // 00066 #define TNT_BOUNDS_CHECK 00067 #ifdef TNT_NO_BOUNDS_CHECK 00068 #undef TNT_BOUNDS_CHECK 00069 #endif 00070 00071 //--------------------------------------------------------------------- 00072 // Define this macro if you want to utilize matrix and vector 00073 // regions. This is typically on, but you can save some 00074 // compilation time by turning it off. If you do this and 00075 // attempt to use regions you will get an error message. 00076 // 00077 // #define TNT_USE_REGIONS 00078 //--------------------------------------------------------------------- 00079 // 00080 #define TNT_USE_REGIONS 00081 00082 //--------------------------------------------------------------------- 00083 // 00084 //--------------------------------------------------------------------- 00085 // if your system doesn't have abs() min(), and max() uncoment the following 00086 //--------------------------------------------------------------------- 00087 // 00088 // 00089 //#define __NEED_ABS_MIN_MAX_ 00090 00091 #include "tntmath.h" 00092 00093 #endif // TNT_H 00094