21#ifndef JKQTPSTATGROUPED_H_INCLUDED
22#define JKQTPSTATGROUPED_H_INCLUDED
37#include "jkqtmath/jkqtmath_imexport.h"
38#include "jkqtmath/jkqtplinalgtools.h"
39#include "jkqtmath/jkqtparraytools.h"
40#include "jkqtcommon/jkqtpdebuggingtools.h"
41#include "jkqtmath/jkqtpstatbasics.h"
107template <
class InputCatIt,
class InputValueIt>
109 auto inCat=inFirstCat;
110 auto inVal=inFirstValue;
111 for (; inCat!=inLastCat && inVal!=inLastValue; ++inCat, ++inVal) {
115 const double g=groupDefFunc(c);
116 groupeddata[g].push_back(v);
141template <
class InputCatIt,
class InputValueIt,
class OutputGroupIt>
143 auto inCat=inFirstCat;
144 auto inVal=inFirstValue;
145 auto outCat=outFirstCategory;
146 for (; inCat!=inLastCat && inVal!=inLastValue; ++inCat, ++inVal) {
150 const double g=groupDefFunc(c);
151 groupeddata[g].push_back(v);
179template <
class InputCatIt,
class InputValueIt>
181 auto inCat=inFirstCat;
182 auto inVal=inFirstValue;
183 for (; inCat!=inLastCat && inVal!=inLastValue; ++inCat, ++inVal) {
187 const double g=groupDefFunc(c);
188 groupeddata[g].first.push_back(c);
189 groupeddata[g].second.push_back(v);
215template <
class InputCatIt,
class InputValueIt,
class OutputGroupIt>
217 auto inCat=inFirstCat;
218 auto inVal=inFirstValue;
219 auto outCat=outFirstCategory;
220 for (; inCat!=inLastCat && inVal!=inLastValue; ++inCat, ++inVal) {
224 const double g=groupDefFunc(c);
225 groupeddata[g].first.push_back(c);
226 groupeddata[g].second.push_back(v);
#define jkqtmath_LIB_EXPORT
Definition jkqtmath_imexport.h:87