ldlsynth(3)

LIBRARY ROUTINE
ldlsynth - 1D Lattice Filter Synthesis

LIBRARY CALL
#include "vinclude.h"
int ldlsynth ( lattice, driver, arith_type, procdir )
int arith_type,procdir;
struct xvimage *lattice, *driver;

INPUT

lattice
    pointer to VIFF structure containing lattice weights.

driver
    pointer to VIFF structure containing driving signal.

arith_type
    type of arithmetic, scalar or vector when dealing with complex data.

procdir
    process direction: 0 indicated vector oriented processing, 1 indicates band oriented processing.

OUTPUT

driver
    pointer to VIFF structure containing image data after processing.

Return Value:
    1 on success, 0 on failure.

MODIFICATIONS

Jeremy Worley Mar 7 1990
    Rewrite of ldlsynth() to handle vector and band oriented signal ensembles.

Ramiro Jordan & Jeremy Worley Feb 11 1992
    Fixed bug in size of complex data sequences. (Old version of dload_vector returned dimension parameter twice its true value for complex. That bug was fixed, but was not propagated to this program.

Jeremy Worley Feb 17 1992
    1. Added explicit return type to ldlsynth().
    2. Made implicitly defined functions explicit in ldlsynth().
    3. Made data_type and arith_type arguments to synthesis() explicitly defined as int.
    4. Added a return to the end of synthesis().
    5. Initialized parr,pari,backr,backi to NULL in synthesis().

DESCRIPTION
1D Lattice Filter Synthesis. Given the 1D lattice filter coefficients (PARCOR) or input parameter sequence and the 1D driving input sequence, the routine will synthesize and output sequence. It can operate on Real and Complex data. If complex data, the user has the option of using vector arithmetic or scalar arithmetic (treat the real number and imaginary number independently).

SEE ALSO
dlsynth(1), intro(3), vipl(3), verror(3), vutils(3)

RESTRICTIONS

AUTHOR
Ramiro Jordan

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.