| 1 | #cxx . . $ `<file>/fon/RealTier.h`/ifndef _RealTier_h_ |
| 2 | #define _RealTier_h_cxx . . $ `fon/RealTier.h:2:9`! |
| 3 | /* RealTier.h |
| 4 | * |
| 5 | * Copyright (C) 1992-2005,2007-2012,2015-2018,2020,2021,2023,2026 Paul Boersma |
| 6 | * |
| 7 | * This code is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 3 of the License, or (at |
| 10 | * your option) any later version. |
| 11 | * |
| 12 | * This code is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 15 | * See the GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ |
| 20 | |
| 21 | #include "AnyTier.h"cxx . . $ `<file>/fon/AnyTier.h`/ |
| 22 | #include "Graphics.h"cxx . . $ `<file>/sys/Graphics.h`/ |
| 23 | #include "TableOfReal.h"cxx . . $ `<file>/stat/TableOfReal.h`/ |
| 24 | #include "Vector.h"cxx . . $ `<file>/fon/Vector.h`/ |
| 25 | Thing_declarecxx . . $ constInterpreter# (Interpreter); |
| 26 | |
| 27 | /********** class RealPoint **********/ |
| 28 | |
| 29 | #include "RealTier_def.h"cxx . . $ `<file>/fon/RealTier_def.h`/ |
| 30 | |
| 31 | autoRealPointcxx . . $ autoRealPoint# RealPoint_createcxx . . $ RealPoint_create(694ff7ec7626c487). (double time, double value); |
| 32 | /* |
| 33 | Postconditions: |
| 34 | result -> time == time; |
| 35 | result -> value == value; |
| 36 | */ |
| 37 | |
| 38 | /********** class RealTier **********/ |
| 39 | |
| 40 | void RealTier_initcxx . . $ RealTier_init(d84c0874d617a544). (RealTiercxx . . $ RealTier# me, double tmin, double tmax); |
| 41 | autoRealTiercxx . . $ autoRealTier# RealTier_createcxx . . $ RealTier_create(8e3ec305798a9b8e). (double tmin, double tmax); |
| 42 | autoRealTiercxx . . $ autoRealTier# RealTier_createWithClasscxx . . $ RealTier_createWithClass(b066997485b89cde). (double tmin, double tmax, ClassInfocxx . . $ ClassInfo# klas); |
| 43 | /* |
| 44 | Postconditions: |
| 45 | result -> xmin == tmin; |
| 46 | result -> xmax == tmax; |
| 47 | result -> points.size == 0; |
| 48 | */ |
| 49 | |
| 50 | double RealTier_getValueAtIndexcxx . . $ RealTier_getValueAtIndex(ed98425824ac647a). (constRealTiercxx . . $ constRealTier# me, integercxx . . $ integer# point); |
| 51 | /* No points or 'point' out of range: undefined. */ |
| 52 | |
| 53 | double RealTier_getValueAtTimecxx . . $ RealTier_getValueAtTime(22f4103126fb5be4). (constRealTiercxx . . $ constRealTier# me, double t); |
| 54 | /* Inside points: linear intrapolation. */ |
| 55 | /* Outside points: constant extrapolation. */ |
| 56 | /* No points: undefined. */ |
| 57 | |
| 58 | double RealTier_getMinimumValuecxx . . $ RealTier_getMinimumValue(77f29e426b60f650). (constRealTiercxx . . $ constRealTier# me); |
| 59 | double RealTier_getMaximumValuecxx . . $ RealTier_getMaximumValue(77f29e426b60f650). (constRealTiercxx . . $ constRealTier# me); |
| 60 | double RealTier_getAreacxx . . $ RealTier_getArea(275ea9f7b70e8f4c). (constRealTiercxx . . $ constRealTier# me, double tmin, double tmax); |
| 61 | double RealTier_getMean_curve_ucxx . . $ RealTier_getMean_curve_u(275ea9f7b70e8f4c). (constRealTiercxx . . $ constRealTier# me, double tmin, double tmax); |
| 62 | double RealTier_getMean_points_ucxx . . $ RealTier_getMean_points_u(275ea9f7b70e8f4c). (constRealTiercxx . . $ constRealTier# me, double tmin, double tmax); |
| 63 | double RealTier_getStandardDeviation_curve_ucxx . . $ RealTier_getStandardDeviation_curve_u(275ea9f7b70e8f4c). (constRealTiercxx . . $ constRealTier# me, double tmin, double tmax); |
| 64 | double RealTier_getStandardDeviation_points_ucxx . . $ RealTier_getStandardDeviation_points_u(275ea9f7b70e8f4c). (constRealTiercxx . . $ constRealTier# me, double tmin, double tmax); |
| 65 | |
| 66 | void RealTier_addPointcxx . . $ RealTier_addPoint(d84c0874d617a544). (RealTiercxx . . $ RealTier# me, double t, double value); |
| 67 | void RealTier_drawcxx . . $ RealTier_draw(91d4c8857589b937). (constRealTiercxx . . $ constRealTier# me, Graphicscxx . . $ Graphics# g, double tmin, double tmax, |
| 68 | double ymin, double ymax, bool garnish, conststring32cxx . . $ conststring32# method, conststring32cxx . . $ conststring32# quantity); |
| 69 | autoTableOfRealcxx . . $ autoTableOfReal# RealTier_downto_TableOfRealcxx . . $ RealTier_downto_TableOfReal(94a239d0d7c55341). (constRealTiercxx . . $ constRealTier# me, conststring32cxx . . $ conststring32# timeLabel, conststring32cxx . . $ conststring32# valueLabel); |
| 70 | |
| 71 | void RealTier_interpolateQuadraticallycxx . . $ RealTier_interpolateQuadratically(cd1344c7fba97ae9). (RealTiercxx . . $ RealTier# me, integercxx . . $ integer# numberOfPointsPerParabola, bool logarithmically); |
| 72 | |
| 73 | autoTablecxx . . $ autoTable# RealTier_downto_Tablecxx . . $ RealTier_downto_Table(5289193065a545ac). (RealTiercxx . . $ RealTier# me, conststring32cxx . . $ conststring32# indexText, conststring32cxx . . $ conststring32# timeText, conststring32cxx . . $ conststring32# valueText); |
| 74 | autoRealTiercxx . . $ autoRealTier# Vector_to_RealTiercxx . . $ Vector_to_RealTier(36d8c1c8537fa784). (Vectorcxx . . $ Vector# me, integercxx . . $ integer# channel, ClassInfocxx . . $ ClassInfo# klas); |
| 75 | autoRealTiercxx . . $ autoRealTier# Vector_to_RealTier_peakscxx . . $ Vector_to_RealTier_peaks(36d8c1c8537fa784). (Vectorcxx . . $ Vector# me, integercxx . . $ integer# channel, ClassInfocxx . . $ ClassInfo# klas); |
| 76 | autoRealTiercxx . . $ autoRealTier# Vector_to_RealTier_valleyscxx . . $ Vector_to_RealTier_valleys(36d8c1c8537fa784). (Vectorcxx . . $ Vector# me, integercxx . . $ integer# channel, ClassInfocxx . . $ ClassInfo# klas); |
| 77 | autoRealTiercxx . . $ autoRealTier# PointProcess_upto_RealTiercxx . . $ PointProcess_upto_RealTier(dfcc7b5d88aa1c0). (PointProcesscxx . . $ PointProcess# me, double value, ClassInfocxx . . $ ClassInfo# klas); |
| 78 | |
| 79 | void RealTier_formulacxx . . $ RealTier_formula(11445ffcf72ccb23). (RealTiercxx . . $ RealTier# me, conststring32cxx . . $ conststring32# expression, Interpretercxx . . $ Interpreter# interpreter, RealTiercxx . . $ RealTier# thee); |
| 80 | void RealTier_multiplyPartcxx . . $ RealTier_multiplyPart(1b42e29f1ffcc8eb). (RealTiercxx . . $ RealTier# me, double tmin, double tmax, double factor); |
| 81 | void RealTier_removePointsBelowcxx . . $ RealTier_removePointsBelow(5f6b3c955a95a7b4). (RealTiercxx . . $ RealTier# me, double level); |
| 82 | |
| 83 | void RealTier_PointProcess_into_RealTiercxx . . $ RealTier_PointProcess_into_RealTier(b5b3fdc7577dead2). (RealTiercxx . . $ RealTier# me, PointProcesscxx . . $ PointProcess# pp, RealTiercxx . . $ RealTier# thee); |
| 84 | autoRealTiercxx . . $ autoRealTier# RealTier_PointProcess_to_RealTiercxx . . $ RealTier_PointProcess_to_RealTier(7e13644744f92637). (RealTiercxx . . $ RealTier# me, PointProcesscxx . . $ PointProcess# pp); |
| 85 | autoRealTiercxx . . $ autoRealTier# AnyRealTier_downto_RealTiercxx . . $ AnyRealTier_downto_RealTier(7fcedb937623ddfd). (RealTiercxx . . $ RealTier# me); |
| 86 | |
| 87 | autoRealTiercxx . . $ autoRealTier# Table_to_RealTiercxx . . $ Table_to_RealTier(4a8d2dc983232e50). (Tablecxx . . $ Table# me, integercxx . . $ integer# timeColumn, integercxx . . $ integer# valueColumn, double tmin, double tmax); |
| 88 | autoRealTiercxx . . $ autoRealTier# Matrix_to_RealTiercxx . . $ Matrix_to_RealTier(e20ccd7b932521f8). (Matrixcxx . . $ Matrix# me, integercxx . . $ integer# timeColumn, integercxx . . $ integer# valueColumn, double tmin, double tmax); |
| 89 | |
| 90 | /* End of file RealTier.h */ |
| 91 | #endif |