Changeset 737 for library/bdm/stat/discrete.h
- Timestamp:
- 11/25/09 12:14:38 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/stat/discrete.h
r730 r737 62 62 //! Get next active vector, call ONLY after first_vector()! 63 63 const vec& next_vec(); 64 64 65 65 //! return active vector, call ONLY after first_vector()! 66 const vec& act_vec(){return actvec;}; 67 66 const vec& act_vec() { 67 return actvec; 68 }; 69 68 70 //! \todo to je asi navic .. v predkovi! 69 71 ivec nearest_point ( const vec &val ); … … 143 145 //! constructor function fills values by calling function \c f , double f(vec&), given by a pointer 144 146 void set_values ( double ( *evalptr ) ( const vec& ) ); 145 147 146 148 //! constructor function fills values by calling function \c f , double f(vec&), given by a pointer 147 void set_values ( const epdf &ep );148 149 void set_values ( const epdf &ep ); 150 149 151 //! get value nearest to the given point 150 152 double nearest_val ( const vec &val ) { … … 155 157 return vec_1 ( nearest_val ( val ) ); 156 158 } 157 const vec & _values() const { return values; } 159 const vec & _values() const { 160 return values; 161 } 158 162 }; 159 163 UIREGISTER ( grid_fnc );