19#if defined(__cplusplus)
22typedef struct a_tf tf;
73#if defined(__cplusplus)
88#if defined(__cplusplus)
89 A_INLINE
void init(
unsigned int num_n_,
a_float const *num_p_,
a_float *input_,
92 a_tf_init(
this, num_n_, num_p_, input_, den_n_, den_p_, output_);
94 A_INLINE
void set_num(
unsigned int num_n_,
a_float const *num_p_,
a_float *input_)
98 A_INLINE
void set_den(
unsigned int den_n_,
a_float const *den_p_,
a_float *output_)
106 A_INLINE
void zero()
const {
a_tf_zero(
this); }
#define a_float
Definition a.h:785
void a_tf_set_den(a_tf *ctx, unsigned int den_n, double const *den_p, double *output)
set denominator for transfer function
double a_tf_iter(a_tf const *ctx, double x)
calculate 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
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_zero(a_tf const *ctx)
zeroing for transfer function
instance structure for transfer function
Definition tf.h:81
unsigned int den_n
denominator number
Definition tf.h:87
unsigned int num_n
numerator number
Definition tf.h:86
double const * num_p
numerator
Definition tf.h:84
double * input
input
Definition tf.h:82
double * output
output
Definition tf.h:83
double const * den_p
denominator
Definition tf.h:85