Revision 302
trunk/src/nh99/admodel.h (revision 302)  

180  180 
model_name_tag(void){;} 
181  181 
void allocate(const char * s); 
182  182 
label_class label(void){return (char*)(name);} 
183 
const char * get_name(void) { return name;} 

183  184 
}; 
184  185  
185  186 
/** 
...  ...  
2790  2791 
void read_covariance_matrix(BOR_CONST dmatrix& S,int nvar,int& hbf, 
2791  2792 
dvector& sscale); 
2792  2793  
2794 
dvector value(const param_init_number_vector& t); 

2795 
dvector value(const param_init_bounded_number_vector& t); 

2796 
//dvector value(const param_init_bounded_number_matrix& t); 

2797 
//dvector value(const param_init_vector_vector& t); 

2798 
//dvector value(const param_init_bounded_vector_vector& t); 

2799  
2793  2800 
dvector read_old_scale(int & old_nvar); 
2794  2801  
2795  2802 
int withinbound(int lb,int n,int ub); 
trunk/src/nh99/model47.cpp (revision 302)  

68  68 
v=NULL; 
69  69 
} 
70  70  
71 
dvector value(const param_init_number_vector& t) 

72 
{ 

73 
dvector vt(t.indexmin(),t.indexmax()); 

74 
for (int i = t.indexmin(); i <= t.indexmax(); i++) 

75 
{ 

76 
vt(i) = value(t(i)); 

77 
} 

78 
return vt; 

79 
} 

71  80  
81 
dvector value(const param_init_bounded_number_vector& t) 

82 
{ 

83 
dvector vt(t.indexmin(),t.indexmax()); 

84 
for (int i = t.indexmin(); i <= t.indexmax(); i++) 

85 
{ 

86 
vt(i) = value(t(i)); 

87 
} 

88 
return vt; 

89 
} 

90  
91 
Also available in: Unified diff