Ignore:
Timestamp:
01/06/05 16:40:42 (19 years ago)
Author:
kil064
Message:

Add cursor selection to function 'hanning' (arg. 'all')

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMathWrapper.cc

    r171 r175  
    8888}
    8989
    90 void SDMathWrapper::hanningInSitu(SDMemTableWrapper& in)
     90void SDMathWrapper::hanningInSitu(SDMemTableWrapper& in, bool doAll)
    9191{
    9292  SDMemTable* pIn = in.getPtr();
    9393  SDMath sdm;
    94   SDMemTable* pOut = sdm.hanning (*pIn);
     94  SDMemTable* pOut = sdm.hanning (*pIn, Bool(doAll));
    9595  *pIn = *pOut;
    9696   delete pOut;
    9797}
    9898
    99 SDMemTableWrapper SDMathWrapper::hanning (const SDMemTableWrapper& in)
     99SDMemTableWrapper SDMathWrapper::hanning (const SDMemTableWrapper& in, bool doAll)
    100100{
    101101  const CountedPtr<SDMemTable>& pIn = in.getCP();
    102102  SDMath sdm;
    103   return CountedPtr<SDMemTable>(sdm.hanning(*pIn));
     103  return CountedPtr<SDMemTable>(sdm.hanning(*pIn, Bool(doAll)));
    104104}
    105105
Note: See TracChangeset for help on using the changeset viewer.