complex_vector_float.c File Reference

#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "floating_fudge.h"
#include <assert.h>
#include "spandsp/telephony.h"
#include "spandsp/logging.h"
#include "spandsp/complex.h"
#include "spandsp/vector_float.h"
#include "spandsp/complex_vector_float.h"

Functions

complexf_t cvec_dot_prodf (const complexf_t x[], const complexf_t y[], int n)
 Find the dot product of two complex float vectors.
complex_t cvec_dot_prod (const complex_t x[], const complex_t y[], int n)
 Find the dot product of two complex double vectors.
complexf_t cvec_circular_dot_prodf (const complexf_t x[], const complexf_t y[], int n, int pos)
 Find the dot product of two complex float vectors, where the first is a circular buffer with an offset for the starting position.
void cvec_lmsf (const complexf_t x[], complexf_t y[], int n, const complexf_t *error)
void cvec_circular_lmsf (const complexf_t x[], complexf_t y[], int n, int pos, const complexf_t *error)

Detailed Description


Function Documentation

complexf_t cvec_circular_dot_prodf ( const complexf_t  x[],
const complexf_t  y[],
int  n,
int  pos 
)

Find the dot product of two complex float vectors, where the first is a circular buffer with an offset for the starting position.

Parameters:
x The first vector.
y The first vector.
n The number of elements in the vectors.
pos The starting position in the x vector.
Returns:
The dot product of the two vectors.

References cvec_dot_prodf().

complex_t cvec_dot_prod ( const complex_t  x[],
const complex_t  y[],
int  n 
)

Find the dot product of two complex double vectors.

Parameters:
x The first vector.
y The first vector.
n The number of elements in the vectors.
Returns:
The dot product of the two vectors.

References complex_t::im, and complex_t::re.

complexf_t cvec_dot_prodf ( const complexf_t  x[],
const complexf_t  y[],
int  n 
)

Find the dot product of two complex float vectors.

Parameters:
x The first vector.
y The first vector.
n The number of elements in the vectors.
Returns:
The dot product of the two vectors.

References complexf_t::im, and complexf_t::re.

Referenced by cvec_circular_dot_prodf().


Generated on Tue Oct 7 20:25:50 2008 for spandsp by  doxygen 1.5.6