Show
Ignore:
Timestamp:
08/11/09 15:27:34 (15 years ago)
Author:
vbarta
Message:

added tests of epdf::evallog_m methods, moved them out of line

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.cpp

    r489 r502  
    140140} 
    141141 
     142vec epdf::evallog_m (const mat &Val) const { 
     143        vec x (Val.cols()); 
     144        for (int i = 0; i < Val.cols(); i++) { 
     145                x (i) = evallog ( Val.get_col (i) ); 
     146        } 
     147 
     148        return x; 
     149} 
     150 
     151vec epdf::evallog_m (const Array<vec> &Avec) const { 
     152        vec x (Avec.size()); 
     153        for (int i = 0; i < Avec.size(); i++) { 
     154                x (i) = evallog ( Avec (i) ); 
     155        } 
     156 
     157        return x; 
     158} 
    142159 
    143160void mpdf::from_setting ( const Setting &set ) {