20 #include <lal/LALStdlib.h> 21 #include <lal/IIRFilter.h> 84 input+=(*(coef++))*(*(hist++));
90 *output=(*(coef++))*input;
92 *output+=(*(coef++))*(*(hist++));
98 for(j=jmax;j>0;j--,hist--)
158 w+=(*(coef++))*(*(hist++));
166 y+=(*(coef++))*(*(hist++));
172 for(j=jmax;j>0;j--,hist--)
197 w+=(*(coef++))*(*(hist++));
205 y+=(*(coef++))*(*(hist++));
211 for(j=jmax;j>0;j--,hist--)
REAL4 XLALIIRFilterREAL4(REAL4 x, REAL8IIRFilter *filter)
This structure stores the direct and recursive REAL8 filter coefficients, as well as the history of t...
REAL8Vector * directCoef
The direct filter coefficients.
void LALIIRFilterREAL8(LALStatus *stat, REAL8 *output, REAL8 input, REAL8IIRFilter *filter)
WARNING: THIS FUNCTION IS OBSOLETE.
REAL8Vector * recursCoef
The recursive filter coefficients.
REAL8 XLALIIRFilterREAL8(REAL8 x, REAL8IIRFilter *filter)
REAL8 * data
Pointer to the data array.
This structure stores the direct and recursive REAL4 filter coefficients, as well as the history of t...
REAL4Vector * directCoef
The direct filter coefficients.
REAL8Vector * history
The previous values of w.
REAL4Vector * history
The previous values of w.
float REAL4
Single precision real floating-point number (4 bytes).
#define IIRFILTERH_ENUL
Unexpected null pointer in arguments.
#define RETURN(statusptr)
#define INITSTATUS(statusptr)
double REAL8
Double precision real floating-point number (8 bytes).
void LALIIRFilterREAL4(LALStatus *stat, REAL4 *output, REAL4 input, REAL4IIRFilter *filter)
WARNING: THIS FUNCTION IS OBSOLETE.
REAL4 * data
Pointer to the data array.
LAL status structure, see The LALStatus structure for more details.
UINT4 length
Number of elements in array.
int32_t INT4
Four-byte signed integer.
REAL4 LALSIIRFilter(REAL4 x, REAL4IIRFilter *filter)
WARNING: THIS FUNCTION IS OBSOLETE.
#define ASSERT(assertion, statusptr, code, mesg)
UINT4 length
Number of elements in array.
REAL4Vector * recursCoef
The recursive filter coefficients.