Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00011
00012
00013 #include "fvar.hpp"
00014
00015 #ifdef __TURBOC__
00016 #pragma hdrstop
00017 #include <iostream.h>
00018 #include <iomanip.h>
00019 #endif
00020
00021 #ifdef __ZTC__
00022 #include <iostream.hpp>
00023 #include <iomanip.hpp>
00024 #endif
00025
00026 #include <stdio.h>
00027 #include <math.h>
00028
00036 void shape_check(const dvector& v1, const dvector& v2,
00037 const char *function_name)
00038 {
00039 if (v1.indexmin() != v2.indexmin() || v1.indexmax() != v2.indexmax())
00040 {
00041 cerr << " Vector sizes do no match in" << function_name << "\n";
00042 ad_exit(1);
00043 }
00044 }