Show
Ignore:
Timestamp:
11/17/09 20:55:03 (15 years ago)
Author:
smidl
Message:

Reworked epdf_harness - testing is now more general.

Corrections of existing tests.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/stat/discrete.h

    r706 r730  
    6262        //! Get next active vector, call ONLY after first_vector()! 
    6363        const vec& next_vec(); 
    64  
     64         
     65        //! return active vector, call ONLY after first_vector()! 
     66        const vec& act_vec(){return actvec;}; 
     67         
    6568        //! \todo to je asi navic .. v predkovi! 
    6669        ivec nearest_point ( const vec &val ); 
     
    140143        //! constructor function fills values by calling function \c f , double f(vec&), given by a pointer 
    141144        void set_values ( double ( *evalptr ) ( const vec& ) ); 
    142  
     145         
     146        //! constructor function fills values by calling function \c f , double f(vec&), given by a pointer 
     147        void set_values ( const epdf &ep); 
     148         
    143149        //! get value nearest to the given point 
    144150        double nearest_val ( const vec &val ) { 
     
    149155                return vec_1 ( nearest_val ( val ) ); 
    150156        } 
     157        const vec & _values() const { return values; } 
    151158}; 
    152159UIREGISTER ( grid_fnc );