Blender V2.61 - r43446

tnt.h

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