File interp_table_core.h¶
File List > doppler > interp_table > interp_table_core.h
Go to the documentation of this file
#ifndef DP_INTERP_TABLE_CORE_H
#define DP_INTERP_TABLE_CORE_H
#include "doppler/clib_common.h"
#include "doppler/jm_perf.h"
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct
{
double _Complex *table;
size_t n;
int method;
} dp_interp_table_state_t;
dp_interp_table_state_t *dp_interp_table_create (const double _Complex *table,
size_t table_len, int method);
void dp_interp_table_destroy (dp_interp_table_state_t *state);
void dp_interp_table_reset (dp_interp_table_state_t *state);
size_t dp_interp_table_execute_max_out (dp_interp_table_state_t *state);
size_t dp_interp_table_execute (dp_interp_table_state_t *state, const double *in,
size_t n_in, double _Complex *out,
size_t max_out);
#ifdef __cplusplus
}
#endif
#endif /* INTERP_TABLE_CORE_H */