Debian Codegraph @

fon/ParamCurve.cpp

raw symbols SCIP
1 /* ParamCurve.cpp
2 *
3 * Copyright (C) 1992-2012,2014-2018,2020,2022,2023 Paul Boersma
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #include "ParamCurve.h"cxx . . $ `<file>/fon/ParamCurve.h`/
20
21 #include "oo_DESTROY.h"cxx . . $ `<file>/sys/oo_DESTROY.h`/
22 #include "ParamCurve_def.h"cxx . . $ `<file>/fon/ParamCurve_def.h`/
23 #include "oo_COPY.h"cxx . . $ `<file>/sys/oo_COPY.h`/
24 #include "ParamCurve_def.h"cxx . . $ `<file>/fon/ParamCurve_def.h`/
25 #include "oo_EQUAL.h"cxx . . $ `<file>/sys/oo_EQUAL.h`/
26 #include "ParamCurve_def.h"cxx . . $ `<file>/fon/ParamCurve_def.h`/
27 #include "oo_DESCRIPTION.h"cxx . . $ `<file>/sys/oo_DESCRIPTION.h`/
28 #include "ParamCurve_def.h"cxx . . $ `<file>/fon/ParamCurve_def.h`/
29 #include "oo_CAN_WRITE_AS_ENCODING.h"cxx . . $ `<file>/sys/oo_CAN_WRITE_AS_ENCODING.h`/
30 #include "ParamCurve_def.h"cxx . . $ `<file>/fon/ParamCurve_def.h`/
31
32 Thing_implementcxx . . $ `sys/Thing.h:65:9`! (ParamCurve, Function, 2);
33
34 void structParamCurvecxx . . $ structParamCurve# :: v1_infocxx . . $ structParamCurve#v1_info(49f6e7a06ebc5aa8). () {
35 structDaatacxx . . $ structDaata# :: v1_infocxx . . $ structThing#v1_info(49f6e7a06ebc5aa8). ();
36 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U"Domain:");
37 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" tmin: ", ourcxx . . $ `melder/melder.h:42:9`! xmincxx . . $ structFunction#xmin.);
38 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" tmax: ", ourcxx . . $ `melder/melder.h:42:9`! xmaxcxx . . $ structFunction#xmax.);
39 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U"x sampling:");
40 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" Number of values of t in x: ", ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). nxcxx . . $ structSampled#nx.);
41 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" t step in x: ", ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). dxcxx . . $ structSampled#dx., U" (sampling rate ", 1.0 / ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). dxcxx . . $ structSampled#dx., U")");
42 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" First t in x: ", ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). x1cxx . . $ structSampled#x1.);
43 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U"x values:");
44 const MelderRealRangecxx . . $ MelderRealRange# xextrema = NUMextrema_ucxx . . $ NUMextrema_u(453fd68922d5429d). (ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). zcxx . . $ structMatrix#z..rowcxx . . $ automatrix#row(2d545b3cb3f8e666). (1));
45 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" Minimum x: ", xextrema.mincxx . . $ MelderRealRange#min.);
46 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" Maximum x: ", xextrema.maxcxx . . $ MelderRealRange#max.);
47 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U"y sampling:");
48 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" Number of values of t in y: ", ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). nxcxx . . $ structSampled#nx.);
49 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" t step in y: ", ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). dxcxx . . $ structSampled#dx., U" (sampling rate ", 1.0 / ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). dxcxx . . $ structSampled#dx., U")");
50 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" First t in y: ", ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). x1cxx . . $ structSampled#x1.);
51 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U"y values:");
52 const MelderRealRangecxx . . $ MelderRealRange# yextrema = NUMextrema_ucxx . . $ NUMextrema_u(453fd68922d5429d). (ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). zcxx . . $ structMatrix#z..rowcxx . . $ automatrix#row(2d545b3cb3f8e666). (1));
53 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" Minimum y: ", yextrema.mincxx . . $ MelderRealRange#min.);
54 MelderInfo_writeLinecxx . . $ MelderInfo_writeLine(3eb398314feba58b). (U" Maximum y: ", yextrema.maxcxx . . $ MelderRealRange#max.);
55 }
56
57 void structParamCurvecxx . . $ structParamCurve# :: v1_writeTextcxx . . $ structParamCurve#v1_writeText(1145552d769d7b5d). (MelderFilecxx . . $ MelderFile# file) {
58 Data_writeTextcxx . . $ Data_writeText(c3dcdea1be00195). (ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file);
59 Data_writeTextcxx . . $ Data_writeText(c3dcdea1be00195). (ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), file);
60 }
61
62 void structParamCurvecxx . . $ structParamCurve# :: v1_readTextcxx . . $ structParamCurve#v1_readText(97c85d3b778168ad). (MelderReadTextcxx . . $ MelderReadText# text, int formatVersion) {
63 ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). Thing_newcxx . . $ `sys/Thing.h:514:9`! (Sound);
64 ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). Thing_newcxx . . $ `sys/Thing.h:514:9`! (Sound);
65 Data_readTextcxx . . $ Data_readText(e29ade1c14d5e948). (ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), text, formatVersion);
66 Data_readTextcxx . . $ Data_readText(e29ade1c14d5e948). (ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), text, formatVersion);
67 ourcxx . . $ `melder/melder.h:42:9`! xmincxx . . $ structFunction#xmin. = ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmincxx . . $ structFunction#xmin. > ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmincxx . . $ structFunction#xmin. ? ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmincxx . . $ structFunction#xmin. : ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmincxx . . $ structFunction#xmin.;
68 ourcxx . . $ `melder/melder.h:42:9`! xmaxcxx . . $ structFunction#xmax. = ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmaxcxx . . $ structFunction#xmax. < ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmaxcxx . . $ structFunction#xmax. ? ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmaxcxx . . $ structFunction#xmax. : ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmaxcxx . . $ structFunction#xmax.;
69 }
70
71 void structParamCurvecxx . . $ structParamCurve# :: v1_writeBinarycxx . . $ structParamCurve#v1_writeBinary(8d4262d45fc644ab). (FILE *f) {
72 Data_writeBinarycxx . . $ Data_writeBinary(68e9d566a624648b). (xcxx . . $ structParamCurve#x..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), f);
73 Data_writeBinarycxx . . $ Data_writeBinary(68e9d566a624648b). (ycxx . . $ structParamCurve#y..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), f);
74 }
75
76 void structParamCurvecxx . . $ structParamCurve# :: v1_readBinarycxx . . $ structParamCurve#v1_readBinary(e780f64711fb334f). (FILE *f, int /*formatVersion*/) {
77 ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). Thing_newcxx . . $ `sys/Thing.h:514:9`! (Sound);
78 ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). Thing_newcxx . . $ `sys/Thing.h:514:9`! (Sound);
79 Data_readBinarycxx . . $ Data_readBinary(dfb403fb68f74b69). (ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), f, 2);
80 Data_readBinarycxx . . $ Data_readBinary(dfb403fb68f74b69). (ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), f, 2);
81 ourcxx . . $ `melder/melder.h:42:9`! xmincxx . . $ structFunction#xmin. = ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmincxx . . $ structFunction#xmin. > ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmincxx . . $ structFunction#xmin. ? ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmincxx . . $ structFunction#xmin. : ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmincxx . . $ structFunction#xmin.;
82 ourcxx . . $ `melder/melder.h:42:9`! xmaxcxx . . $ structFunction#xmax. = ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmaxcxx . . $ structFunction#xmax. < ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmaxcxx . . $ structFunction#xmax. ? ourcxx . . $ `melder/melder.h:42:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmaxcxx . . $ structFunction#xmax. : ourcxx . . $ `melder/melder.h:42:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). xmaxcxx . . $ structFunction#xmax.;
83 }
84
85 void ParamCurve_initcxx . . $ ParamCurve_init(9846e3a28dfff203). (ParamCurvecxx . . $ ParamCurve# me, Soundcxx . . $ Sound# x, Soundcxx . . $ Sound# y) {
86 if (x -> xmaxcxx . . $ structFunction#xmax. <= y -> xmincxx . . $ structFunction#xmin. || x -> xmincxx . . $ structFunction#xmin. >= y -> xmaxcxx . . $ structFunction#xmax.)
87 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"Domains do not overlap.");
88 mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x. =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). Data_copycxx . . $ Data_copy(97a542a26794c80e). (x);
89 mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y. =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). Data_copycxx . . $ Data_copy(97a542a26794c80e). (y);
90 mycxx . . $ `melder/melder.h:44:9`! xmincxx . . $ structFunction#xmin. = x -> xmincxx . . $ structFunction#xmin. > y -> xmincxx . . $ structFunction#xmin. ? x -> xmincxx . . $ structFunction#xmin. : y -> xmincxx . . $ structFunction#xmin.;
91 mycxx . . $ `melder/melder.h:44:9`! xmaxcxx . . $ structFunction#xmax. = x -> xmaxcxx . . $ structFunction#xmax. < y -> xmaxcxx . . $ structFunction#xmax. ? x -> xmaxcxx . . $ structFunction#xmax. : y -> xmaxcxx . . $ structFunction#xmax.;
92 }
93
94 autoParamCurvecxx . . $ autoParamCurve# ParamCurve_createcxx . . $ ParamCurve_create(8030062a29da31ad). (Soundcxx . . $ Sound# x, Soundcxx . . $ Sound# y) {
95 try {
96 autoParamCurvecxx . . $ autoParamCurve# me = Thing_newcxx . . $ `sys/Thing.h:514:9`! (ParamCurve);
97 ParamCurve_initcxx . . $ ParamCurve_init(9846e3a28dfff203). (me.getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), x, y);
98 return mecxx . . $ autoSomeThing#autoSomeThing(b79141a71f7bc86f).;
99 } catch (MelderErrorcxx . . $ MelderError#) {
100 Melder_throwcxx . . $ `melder/melder_error.h:77:9`! (U"ParamCurve not created.");
101 }
102 }
103
104 void ParamCurve_drawcxx . . $ ParamCurve_draw(8515c233aa30219). (ParamCurvecxx . . $ ParamCurve# me, Graphicscxx . . $ Graphics# g, double t1, double t2, double dt,
105 double x1, double x2, double y1, double y2, bool garnish)
106 {
107 if (t2 <= t1) {
108 double tx1 = mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). x1cxx . . $ structSampled#x1.;
109 double ty1 = mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). x1cxx . . $ structSampled#x1.;
110 double tx2 = mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). x1cxx . . $ structSampled#x1. + (mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). nxcxx . . $ structSampled#nx. - 1) * mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). dxcxx . . $ structSampled#dx.;
111 double ty2 = mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). x1cxx . . $ structSampled#x1. + (mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). nxcxx . . $ structSampled#nx. - 1) * mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). dxcxx . . $ structSampled#dx.;
112 t1 = tx1 > ty1 ? tx1 : ty1;
113 t2 = tx2 < ty2 ? tx2 : ty2;
114 }
115 if (x2 <= x1) Matrix_getWindowExtremacxx . . $ Matrix_getWindowExtrema(d50591dd897af896). (mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), 0, 0, 1, 1, & x1, & x2);
116 if (x1 == x2) { x1 -= 1.0; x2 += 1.0; }
117 if (y2 <= y1) Matrix_getWindowExtremacxx . . $ Matrix_getWindowExtrema(d50591dd897af896). (mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), 0, 0, 1, 1, & y1, & y2);
118 if (y1 == y2) { y1 -= 1.0; y2 += 1.0; }
119 if (dt <= 0.0)
120 dt = mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). dxcxx . . $ structSampled#dx. < mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). dxcxx . . $ structSampled#dx. ? mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). dxcxx . . $ structSampled#dx. : mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). dxcxx . . $ structSampled#dx.;
121 integercxx . . $ integer# numberOfPoints = Melder_iceilingcxx . . $ `melder/melder_ftoi.h:45:9`! ((t2 - t1) / dt) + 1;
122 if (numberOfPoints > 0) {
123 autoVECcxx . . $ autoVEC# x = raw_VECcxx . . $ raw_VEC(e4395f764b859b1e). (numberOfPoints);
124 autoVECcxx . . $ autoVEC# y = raw_VECcxx . . $ raw_VEC(e4395f764b859b1e). (numberOfPoints);
125 for (integercxx . . $ integer# i = 1; i <= numberOfPoints; i ++) {
126 double t = i == numberOfPoints ? t2 : t1 + (i - 1) * dt;
127 double index = Sampled_xToIndexcxx . . $ Sampled_xToIndex(b395a896ba2eff9a). (mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), t);
128 x [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).i] = NUM_interpolate_sinccxx . . $ NUM_interpolate_sinc(3bff97c7d2c43d6f). (mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). zcxx . . $ structMatrix#z..rowcxx . . $ automatrix#row(2d545b3cb3f8e666). (1), index, 50);
129 index = Sampled_xToIndexcxx . . $ Sampled_xToIndex(b395a896ba2eff9a). (mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y..getcxx . . $ autoSomeThing#get(34d6acfd341ba7ab).(), t);
130 y [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).i] = NUM_interpolate_sinccxx . . $ NUM_interpolate_sinc(3bff97c7d2c43d6f). (mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y. ->cxx . . $ autoSomeThing#`operator->`(34d6acfd341ba7ab). zcxx . . $ structMatrix#z..rowcxx . . $ automatrix#row(2d545b3cb3f8e666). (1), index, 50);
131 }
132 Graphics_setWindowcxx . . $ Graphics_setWindow(72bdb7937dbb13da). (g, x1, x2, y1, y2);
133 Graphics_setInnercxx . . $ Graphics_setInner(2d838ed765120c5d). (g);
134 Graphics_polylinecxx . . $ Graphics_polyline(23a712ce109b96e0). (g, numberOfPoints, & x [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).1], & y [cxx . . $ autovector#`operator[]`(8a4599b8835d1ce1).1]);
135 Graphics_unsetInnercxx . . $ Graphics_unsetInner(2d838ed765120c5d). (g);
136 }
137 if (garnish) {
138 Graphics_drawInnerBoxcxx . . $ Graphics_drawInnerBox(2d838ed765120c5d). (g);
139 Graphics_marksBottomcxx . . $ Graphics_marksBottom(c3a11a8a55b243ff). (g, 2, true, true, false);
140 Graphics_marksLeftcxx . . $ Graphics_marksLeft(c3a11a8a55b243ff). (g, 2, true, true, false);
141 }
142 }
143
144 void ParamCurve_swapXYcxx . . $ ParamCurve_swapXY(154270e55211e5aa). (ParamCurvecxx . . $ ParamCurve# me) {
145 autoSoundcxx . . $ autoSound# help = mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).();
146 mycxx . . $ `melder/melder.h:44:9`! xcxx . . $ structParamCurve#x. =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y..movecxx . . $ autoSomeThing#move(25acc3554b7d1642).();
147 mycxx . . $ `melder/melder.h:44:9`! ycxx . . $ structParamCurve#y. =cxx . . $ autoSomeThing#`operator=`(80cc59814f7161e8). help.movecxx . . $ autoSomeThing#move(25acc3554b7d1642).();
148 }
149
150 /* End of file ParamCurve.cpp */