Ignore:
Timestamp:
01/21/05 12:21:36 (19 years ago)
Author:
kil064
Message:

Add binary table operator

opacity
gain elevation now handles polynomials
pass on row arg to SDMath::statistics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMathWrapper.h

    r228 r235  
    4747                             const SDMemTableWrapper& off);
    4848
     49// Simple binary operations
     50  SDMemTableWrapper simpleBinaryOperate (const SDMemTableWrapper& left,
     51                                         const SDMemTableWrapper& right,
     52                                         const std::string& op);
     53
    4954// Multiply
    5055  void scaleInSitu(SDMemTableWrapper& in, float factor, bool doAll);
     
    7176
    7277// Apply gain elevation correction
    73   void gainElevationInSitu (SDMemTableWrapper& in, const std::string& fileName,
     78  void gainElevationInSitu (SDMemTableWrapper& in, const std::vector<float>& coeffs,
     79                            const std::string& fileName,
    7480                            const std::string& method, bool doAll);
    75   SDMemTableWrapper gainElevation(const SDMemTableWrapper& in, const std::string& fileName,
     81  SDMemTableWrapper gainElevation(const SDMemTableWrapper& in, const std::vector<float>& coeffs,
     82                                  const std::string& fileName,
    7683                                  const std::string& method, bool doAll);
     84
     85// Apply opacity correction
     86  void opacityInSitu (SDMemTableWrapper& in, float tau, bool doAll);
     87  SDMemTableWrapper opacity (const SDMemTableWrapper& in, float tau, bool doAll);
    7788
    7889// Average in time
     
    89100  std::vector<float> statistic(const SDMemTableWrapper& in,
    90101                               const std::vector<bool>& mask,
    91                                const std::string& which);
     102                               const std::string& which, int row);
    92103};
    93104
Note: See TracChangeset for help on using the changeset viewer.