Data Structures | |
struct | a_tf |
instance structure for transfer function More... | |
Typedefs | |
typedef struct a_tf | a_tf |
Functions | |
void | a_tf_set_num (a_tf *ctx, unsigned int num_n, a_float const *num_p, a_float *input) |
set numerator for transfer function | |
void | a_tf_set_den (a_tf *ctx, unsigned int den_n, a_float const *den_p, a_float *output) |
set denominator for transfer function | |
void | a_tf_init (a_tf *ctx, unsigned int num_n, a_float const *num_p, a_float *input, unsigned int den_n, a_float const *den_p, a_float *output) |
initialize for transfer function | |
a_float | a_tf_iter (a_tf const *ctx, a_float x) |
calculate for transfer function | |
void | a_tf_zero (a_tf const *ctx) |
zeroing for transfer function | |
void a_tf_init | ( | a_tf * | ctx, |
unsigned int | num_n, | ||
a_float const * | num_p, | ||
a_float * | input, | ||
unsigned int | den_n, | ||
a_float const * | den_p, | ||
a_float * | output ) |
initialize for transfer function
[in,out] | ctx | points to an instance of transfer function |
[in] | num_n | numerator number |
[in] | num_p | numerator |
[in] | input | input |
[in] | den_n | denominator number |
[in] | den_p | denominator |
[in] | output | output |
calculate for transfer function
[in] | ctx | points to an instance of transfer function |
[in] | x | transfer function input |
set denominator for transfer function
[in,out] | ctx | points to an instance of transfer function |
[in] | den_n | denominator number |
[in] | den_p | denominator |
[in] | output | output |
set numerator for transfer function
[in,out] | ctx | points to an instance of transfer function |
[in] | num_n | numerator number |
[in] | num_p | numerator |
[in] | input | input |
void a_tf_zero | ( | a_tf const * | ctx | ) |
zeroing for transfer function
[in] | ctx | points to an instance of transfer function |