52 #define csv_crlf "\r\n"
61 for (
int i = 0;
i < vectors;
i++) {
62 if (data[
i].type ==
'c')
69 if (len < data[
i].len) len = data[
i].
len;
73 for (
int k = 0; k < len; k++) {
74 for (
int i = 0;
i < vectors;
i++) {
75 if (data[
i].type ==
'c')
77 (
double)
real (data[
i].v->get (data[
i].
idx)), sep,
78 (
double)
imag (data[i].v->get (data[i].
idx)));
81 (
double)
real (data[i].v->get (data[i].
idx)));
83 data[
i].
idx = ((k + 1) / data[i].skip) % data[
i].
len;
92 if (variable && (v = qucs_data->
findVariable (variable)) != NULL) {
96 int vectors = 1 + (deps ? deps->
length () : 0);
106 for (i = vectors - 2; i >= 0; i--) {
120 else if (variable && (v = qucs_data->
findDependency (variable)) != NULL) {
158 fprintf (stderr,
"no such data variable `%s' found\n", variable);