STK++ 0.9.13
STK_VisitorSelector.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------*/
2/* Copyright (C) 2004-2016 Serge Iovleff, Université Lille 1, Inria
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this program; if not, write to the
16 Free Software Foundation, Inc.,
17 59 Temple Place,
18 Suite 330,
19 Boston, MA 02111-1307
20 USA
21
22 Contact : S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
23 */
24
25/*
26 * Project: stkpp::Arrays
27 * created on: 27 sept. 2012
28 * Author: iovleff, S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
29 **/
30
35#ifndef STK_VISITORSELECTOR_H
36#define STK_VISITORSELECTOR_H
37
38namespace STK
39{
40
41namespace hidden
42{
43// forward declaration
44template<typename Visitor, typename Derived, int Structure_>
45struct VisitorSelectorHelper;
46
55template<typename Visitor, typename Derived>
75
76
85template<typename Visitor, typename Derived, int Structure_>
102
105template<typename Visitor, typename Derived>
118
121template<typename Visitor, typename Derived>
133
136template<typename Visitor, typename Derived>
149
152template<typename Visitor, typename Derived>
153struct VisitorSelectorHelper<Visitor, Derived, Arrays::upper_triangular_>
154{
155 enum
158};
159
162template<typename Visitor, typename Derived>
163struct VisitorSelectorHelper<Visitor, Derived, Arrays::lower_triangular_>
164{
165 enum
168};
169
172template<typename Visitor, typename Derived>
173struct VisitorSelectorHelper<Visitor, Derived, Arrays::number_>
175
176
177} // namespace hidden
178
179} // namespace STK
180
181#endif /* STK_VISITORSIMPL_H */
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
@ array2D_
general matrix/array/expression
@ square_
square matrix/array/expression
const int MaxUnroll
When don't unroll loops on fixed size containers if fixed size is greater than this value.
const int MaxUnrollSlice
This value means that when we unroll loops we go until MaxUnrollSlice.
The namespace STK is the main domain space of the Statistical ToolKit project.
Helper for the Visitor selector: allow to select the correct implementation to instantiate for arrays...
VisitorArrayNoUnrollImpl< Visitor, Derived, orient_, UnknownSize, UnknownSize > NoUnrollImpl
VisitorArrayImpl< Visitor, Derived, UnknownSize, sizeCols_ > ColUnrollImpl
If< unrollCols_, ColUnrollImpl, typenameIf< unrollRows_, RowUnrollImpl, NoUnrollImpl >::Result >::Result Impl
VisitorArrayImpl< Visitor, Derived, sizeRows_, UnknownSize > RowUnrollImpl
VisitorArrayUnrollImpl< Visitor, Derived, orient_, sizeRows_, sizeCols_ > ArrayImpl
If< is2D_ &&unrollRows_ &&unrollCols_, ArrayImpl, HelperImpl >::Result Impl
VisitorSelectorHelper< Visitor, Derived, structure_ >::Impl HelperImpl