FilterGen  1.0.0
A library to design digital filters in embedded systems.
chebyshev.h File Reference

The computation of chebyshev coefficients for the filter library. More...

#include "dh/filter-types.h"
Include dependency graph for chebyshev.h:

Go to the source code of this file.

Functions

DH_FILTER_RETURN_VALUE dh_compute_chebyshev_filter_coefficients (dh_filter_data *filter, dh_filter_parameters *options, DH_FILTER_CHARACTERISTIC characteristic, bool isType2)
 Computes all coefficients for a chebyshev filter. More...
 

Detailed Description

The computation of chebyshev coefficients for the filter library.

This source code is licensed under the MIT license. See file "LICENSE" at the root of the repository.

Function Documentation

◆ dh_compute_chebyshev_filter_coefficients()

DH_FILTER_RETURN_VALUE dh_compute_chebyshev_filter_coefficients ( dh_filter_data filter,
dh_filter_parameters options,
DH_FILTER_CHARACTERISTIC  characteristic,
bool  isType2 
)

Computes all coefficients for a chebyshev filter.

This function will allocate temporary buffers.

Parameters
filterThe data structure with the filter parameters. It will be modified in place (the coefficient arrays are initialized).
optionsThe selected options for the filter.
characteristicThe type of chebyshev filter that will be created.
isType2if the filter should be a type 2 filter.
Returns
DH_FILTER_RETURN_VALUE