|
| 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/Delphi | uses VFmath;
procedure VF_redC( Y, X:fVector; size:UInt; C:Single ); |
|
| Description | Yi = 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. |
|
|
|
|