Ignore:
Timestamp:
07/04/06 11:22:42 (18 years ago)
Author:
mar637
Message:

Enhancement Ticket #50; arbitrary quotients.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STMathWrapper.h

    r996 r1066  
    5757  { return ScantableWrapper(STMath::unaryOperate(in.getCP(), val, mode, tsys)); }
    5858
    59   ScantableWrapper quotient( const ScantableWrapper& in,
    60                              const std::string& mode = "NEAREST",
     59  ScantableWrapper autoQuotient( const ScantableWrapper& in,
     60                                 const std::string& mode = "NEAREST",
     61                                 bool preserve = true )
     62  { return ScantableWrapper(STMath::autoQuotient(in.getCP(), mode, preserve)); }
     63
     64  ScantableWrapper quotient( const ScantableWrapper& on,
     65                             const ScantableWrapper& off,
    6166                             bool preserve = true )
    62   { return ScantableWrapper(STMath::quotient(in.getCP(), mode, preserve)); }
     67  { return ScantableWrapper( STMath::quotient( on.getCP(), off.getCP(),
     68                                               preserve ) ); }
    6369
    6470  ScantableWrapper
Note: See TracChangeset for help on using the changeset viewer.