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); }
double a_float
compiler built-in floating-point number type
Definition a.h:1003
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
a_float a_tf_iter(a_tf const *ctx, a_float x)
calculate 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
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
Definition tf.h:87
a_float const * den_p
Definition tf.h:85
unsigned int num_n
Definition tf.h:86
a_float * output
Definition tf.h:83
a_float const * num_p
Definition tf.h:84
a_float * input
Definition tf.h:82