Changeset 175 for trunk/src/SDMathWrapper.cc
- Timestamp:
- 01/06/05 16:40:42 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMathWrapper.cc
r171 r175 88 88 } 89 89 90 void SDMathWrapper::hanningInSitu(SDMemTableWrapper& in )90 void SDMathWrapper::hanningInSitu(SDMemTableWrapper& in, bool doAll) 91 91 { 92 92 SDMemTable* pIn = in.getPtr(); 93 93 SDMath sdm; 94 SDMemTable* pOut = sdm.hanning (*pIn );94 SDMemTable* pOut = sdm.hanning (*pIn, Bool(doAll)); 95 95 *pIn = *pOut; 96 96 delete pOut; 97 97 } 98 98 99 SDMemTableWrapper SDMathWrapper::hanning (const SDMemTableWrapper& in )99 SDMemTableWrapper SDMathWrapper::hanning (const SDMemTableWrapper& in, bool doAll) 100 100 { 101 101 const CountedPtr<SDMemTable>& pIn = in.getCP(); 102 102 SDMath sdm; 103 return CountedPtr<SDMemTable>(sdm.hanning(*pIn ));103 return CountedPtr<SDMemTable>(sdm.hanning(*pIn, Bool(doAll))); 104 104 } 105 105
Note: See TracChangeset
for help on using the changeset viewer.