| 1 | /* Regression_def.h |
| 2 | * |
| 3 | * Copyright (C) 2005-2007,2011,2015-2017,2022 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 | |
| 20 | #define ooSTRUCT RegressionParameter |
| 21 | oo_DEFINE_CLASS (RegressionParameter, Daata) |
| 22 | |
| 23 | oo_STRING (label) |
| 24 | oo_DOUBLE (minimum) |
| 25 | oo_DOUBLE (maximum) |
| 26 | oo_DOUBLE (value) |
| 27 | |
| 28 | #if oo_DECLARING || oo_COPYING |
| 29 | oo_INTEGER (tableColumnIndex) |
| 30 | #endif |
| 31 | |
| 32 | oo_END_CLASS (RegressionParameter) |
| 33 | #undef ooSTRUCT |
| 34 | |
| 35 | |
| 36 | #define ooSTRUCT Regression |
| 37 | oo_DEFINE_CLASS (Regression, Daata) |
| 38 | |
| 39 | oo_DOUBLE (intercept) |
| 40 | oo_COLLECTION_OF (OrderedOf, parameters, RegressionParameter, 0) |
| 41 | |
| 42 | #if oo_DECLARING |
| 43 | void v1_info () |
| 44 | override; |
| 45 | #endif |
| 46 | |
| 47 | oo_END_CLASS (Regression) |
| 48 | #undef ooSTRUCT |
| 49 | |
| 50 | |
| 51 | /* End of file Regression_def.h */ |