Next: , Previous: Realvec arithmetic, Up: Realvec


7.3.4 Applying a function to a realvec

Use apply().

     void
     TranscriberExtract::toMidi(realvec* pitchList)
     {
         pitchList->apply( hertz2pitch );
     }