DSP Run-Time Library Guide
Table 4-4. Math Library (Cont'd)
Description
Logarithm Base 10
Get Fraction and
Integer
Power
Sine
Hyperbolic Sine
Square Root
Reciprocal of Square Root
Tangent
Hyperbolic
Tangent
matrix.h — Matrix Functions
The
matrix.h
and complex matrices, both matrix-scalar and matrix-matrix operations.
See
"complex.h — Basic Complex Arithmetic Functions" on page 4-4
definition of the complex types.
4-12
Prototype
double log10 (double x);
float log10f (float x);
double modf (double x, double *i);
float modff (float x, float *i);
double pow (double x, double y);
float powf (float x, float y);
double sin (double x);
float sinf (float x);
fract16 sin_fr16 (fract16 x);
double sinh (double x);
float sinhf (float x);
double sqrt (double x);
float sqrtf (float x);
fract16 sqrt_fr16 (fract16 x);
double rsqrt (double x);
float rsqrtf (float x);
double tan (double x);
float tanf (float x);
fract16 tan_fr16 (fract16 x);
double tanh (double x);
float tanhf (float x);
header file contains matrix functions for operating on real
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
for
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers