VF_redCVD_redCVE_redC
Function"Reduce" by a constant
Syntax C/C++#include <VFmath.h>
void VF_redC( fVector Y, fVector X, ui size, float C );
C++ VecObj#include <OptiVec.h>
void vector<T>::redC( const vector<T>& X, const T& C );
Pascal/Delphiuses VFmath;
procedure VF_redC( Y, X:fVector; size:UInt; C:Single );
DescriptionYi = red( Xi, C ) = Xi * C / (Xi + C)
Expressions of this type are frequently used in physics; for example, the "reduced mass" of a two-body system is the product of both masses divided by their sum.
Error handlingnone
Return valuenone
See alsoVF_redV,   VF_addC,   VF_subC,   VF_divC,   VF_visC

VectorLib Table of Contents  OptiVec home