-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathw_array_ops.h
More file actions
27 lines (23 loc) · 955 Bytes
/
w_array_ops.h
File metadata and controls
27 lines (23 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef W_ARRAY_OPS_H
#define W_ARRAY_OPS_H 1
#define A_FREQ_LEN 513
void _print_int(void *elt);
void _print_double(void *elt);
void _print_double_stdout(void *elt);
void _print_pow_dens(void *elt);
void _print_complex(void *elt);
void print_i_array(int *array, int n);
void print_d_array(double *array, int n);
void print_complex_array(complex *array, int n);
void print_r_complex_array(complex *array, int n);
void print_array(char *array, int n, int eltsize, void (*print)(void *));
void array_div(int n, double *array, int size);
void swap_d(double *a, double *b);
void complex_array_div(int n, complex *array, int size);
void array_add(double *array, double *addition, int size);
void complex_array_add(complex *a, complex *addition, int len);
void d_array_to_complex(complex *a, double *addition, int len);
double pow_elem(complex elem);
void print_pow_density(complex *array, int n);
int *get_n_biggest(complex *buffer, int len, int n);
#endif