liba 0.1.15
An algorithm library based on C/C++
|
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, double const *num_p, double *input) |
set numerator for transfer function | |
void | a_tf_set_den (a_tf *ctx, unsigned int den_n, double const *den_p, double *output) |
set denominator for transfer function | |
void | a_tf_init (a_tf *ctx, unsigned int num_n, double const *num_p, double *input, unsigned int den_n, double const *den_p, double *output) |
initialize for transfer function | |
double | a_tf_iter (a_tf const *ctx, double 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, | ||
double const * | num_p, | ||
double * | input, | ||
unsigned int | den_n, | ||
double const * | den_p, | ||
double * | 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 |
double a_tf_iter | ( | a_tf const * | ctx, |
double | x ) |
calculate for transfer function
[in] | ctx | points to an instance of transfer function |
[in] | x | transfer function input |
void a_tf_set_den | ( | a_tf * | ctx, |
unsigned int | den_n, | ||
double const * | den_p, | ||
double * | output ) |
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 |
void a_tf_set_num | ( | a_tf * | ctx, |
unsigned int | num_n, | ||
double const * | num_p, | ||
double * | input ) |
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 |