VF_sintab2VD_sintab2VE_sintab2
VF_sintab3VD_sintab3VE_sintab3
 Table of sine values for arguments between 0 and p/2
Syntax C/C++#include <xmath.h>
extern float    VF_sintab2[ VF_tabsz2+1 ];
extern double   VD_sintab2[ VD_tabsz2+1 ];
extern extended VE_sintab2[ VE_tabsz2+1 ];
extern float    VF_sintab3[ VF_tabsz3+1 ];
extern double   VD_sintab3[ VD_tabsz3+1 ];
extern extended VE_sintab3[ VE_tabsz3+1 ];

Pascal/Delphiuses FSINTAB2, DSINTAB2, ESINTAB2, FSINTAB3, DSINTAB3, ESINTAB3;
VF_sintab2: array[0..VF_tabsz2] of Single;
VD_sintab2: array[0..VD_tabsz2] of Double;
VE_sintab2: array[0..VE_tabsz2] of Extended;
VF_sintab3: array[0..VF_tabsz3] of Single;
VD_sintab3: array[0..VD_tabsz3] of Double;
VE_sintab3: array[0..VE_tabsz3] of Extended;

DescriptionVF_sintab2[ i ] = sin( i/(2*VF_tabsz2) * p ),     i=0,...,VF_tabsz2
VF_sintab3[ i ] = sin( i/(2*VF_tabsz3) * p ),     i=0,...,VF_tabsz3
These look-up tables of sine values for arguments between 0 and p/2 are used by VF_sinrpi2 and the other functions of that family and are also available for other purposes.
C/C++: The symbols VF_tabsz2 etc., denoting the size of the tables, are defined in <xmath.h>.
Pascal/Delphi: The symbols VF_tabsz2 etc. are defined in the same units as the tables themselves.
FreePascal/Lazarus: These tables are not available for FreePascal/Lazarus.
See alsoVF_sinrpi2,   VF_tantab2,   VF_cosectab2

VectorLib Table of Contents  OptiVec home