Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00011 #include "fvar.hpp"
00012 #if !defined(OPT_LIB)
00013
00017 const dvector& dmatrix::operator()(int i) const
00018 {
00019 if (i<rowmin())
00020 {
00021 cerr << "matrix bound exceeded -- row index too low in "
00022 "dmatrix::operator()" << "value was" << i;
00023 ad_exit(21);
00024 }
00025 if (i>rowmax())
00026 {
00027 cerr << "matrix bound exceeded -- row index too high in "
00028 "dmatrix::operator()" << "value was" << i;
00029 ad_exit(22);
00030 }
00031 return *(m+i);
00032 }
00033 #endif