tempusSystem Class AverageVF
AverageVF is part of the WaveTrain system class library

AverageVF computes the weighted average of the elements of a float vector.

Tempus Block Diagram Editor Snapshot
Parameters
vwavg0  float   Output to be provided before inputs are available.   0.0
Inputs
v  Vector<float>   Vector to be averaged.   Vector()
w  Vector<float>   Weights to be applied. If w is a NULL vector (i.e., its length is zero), then the average is not weighted. Otherwise w must be the same size as v.   Vector()
Outputs
vwavg  float   Average of v.*w 0.0  
Subsystems


Last Saved: Tue Feb 19 14:41:59 MST 2008 by TVE version 2007B