Image Component Library (ICL)
FixedVector.h
Go to the documentation of this file.
1 /********************************************************************
2 ** Image Component Library (ICL) **
3 ** **
4 ** Copyright (C) 2006-2013 CITEC, University of Bielefeld **
5 ** Neuroinformatics Group **
6 ** Website: www.iclcv.org and **
7 ** http://opensource.cit-ec.de/projects/icl **
8 ** **
9 ** File : ICLMath/src/ICLMath/FixedVector.h **
10 ** Module : ICLMath **
11 ** Authors: Christof Elbrechter **
12 ** **
13 ** **
14 ** GNU LESSER GENERAL PUBLIC LICENSE **
15 ** This file may be used under the terms of the GNU Lesser General **
16 ** Public License version 3.0 as published by the **
17 ** **
18 ** Free Software Foundation and appearing in the file LICENSE.LGPL **
19 ** included in the packaging of this file. Please review the **
20 ** following information to ensure the license requirements will **
21 ** be met: http://www.gnu.org/licenses/lgpl-3.0.txt **
22 ** **
23 ** The development of this software was supported by the **
24 ** Excellence Cluster EXC 277 Cognitive Interaction Technology. **
25 ** The Excellence Cluster EXC 277 is a grant of the Deutsche **
26 ** Forschungsgemeinschaft (DFG) in the context of the German **
27 ** Excellence Initiative. **
28 ** **
29 ********************************************************************/
30 
31 #pragma once
32 
33 #include <ICLUtils/CompatMacros.h>
34 #include <ICLMath/FixedMatrix.h>
35 
36 namespace icl{
37  namespace math{
38 
39  template<class T, int DIM>
40  struct FixedColVector : public FixedMatrix<T, 1, DIM>{
43  explicit FixedColVector(const T &init):super(init){}
44  explicit FixedColVector(const T *srcData):super(srcData){}
45  FixedColVector(const FixedMatrix<T,1,DIM> &other):super(other){}
46  FixedColVector(const T&v0,const T&v1, const T&v2=0, const T&v3=0, const T&v4=0, const T&v5=0,
47  const T&v6=0,const T&v7=0, const T&v8=0, const T&v9=0, const T&v10=0, const T&v11=0):
48  super(v0,v1,v2,v3,v4,v5,v6,v7,v8,v9,v10,v11){}
49 
50  template<class Iterator>
52 
53  template<class otherT, class Iterator>
55 
56 
57  };
58 
59 
60  template<class T, int DIM>
61  struct FixedRowVector : public FixedMatrix<T, DIM, 1>{
64  explicit FixedRowVector(const T &init):super(init){}
65  explicit FixedRowVector(const T *srcData):super(srcData){}
66  FixedRowVector(const FixedMatrix<T,DIM,1> &other):super(other){}
67  FixedRowVector(const T&v0,const T&v1, const T&v2=0, const T&v3=0, const T&v4=0, const T&v5=0,
68  const T&v6=0,const T&v7=0, const T&v8=0, const T&v9=0, const T&v10=0, const T&v11=0):
69  super(v0,v1,v2,v3,v4,v5,v6,v7,v8,v9,v10,v11){}
70 
71  template<class Iterator>
73 
74  template<class otherT, class Iterator>
76 
77  };
78 
79 
80 
81  } // namespace math
82 }
83 
FixedRowVector(const FixedMatrixPart< otherT, DIM, Iterator > &r)
Definition: FixedVector.h:75
FixedColVector(const T &init)
Definition: FixedVector.h:43
FixedRowVector(const T &init)
Definition: FixedVector.h:64
FixedColVector()
Definition: FixedVector.h:42
Powerful and highly flexible matrix class implementation.
Definition: FixedMatrix.h:172
undocument this line if you encounter any issues!
Definition: Any.h:37
Definition: FixedVector.h:61
FixedColVector(const FixedMatrixPart< T, DIM, Iterator > &r)
Definition: FixedVector.h:51
Utility struct for FixedMatrix sub-parts.
Definition: FixedMatrix.h:92
FixedRowVector()
Definition: FixedVector.h:63
FixedColVector(const T *srcData)
Definition: FixedVector.h:44
FixedRowVector(const T &v0, const T &v1, const T &v2=0, const T &v3=0, const T &v4=0, const T &v5=0, const T &v6=0, const T &v7=0, const T &v8=0, const T &v9=0, const T &v10=0, const T &v11=0)
Definition: FixedVector.h:67
FixedMatrix< T, 1, DIM > super
Definition: FixedVector.h:41
FixedColVector(const FixedMatrixPart< otherT, DIM, Iterator > &r)
Definition: FixedVector.h:54
FixedRowVector(const FixedMatrixPart< T, DIM, Iterator > &r)
Definition: FixedVector.h:72
Definition: FixedVector.h:40
FixedRowVector(const T *srcData)
Definition: FixedVector.h:65
FixedColVector(const FixedMatrix< T, 1, DIM > &other)
Definition: FixedVector.h:45
FixedColVector(const T &v0, const T &v1, const T &v2=0, const T &v3=0, const T &v4=0, const T &v5=0, const T &v6=0, const T &v7=0, const T &v8=0, const T &v9=0, const T &v10=0, const T &v11=0)
Definition: FixedVector.h:46
FixedMatrix< T, DIM, 1 > super
Definition: FixedVector.h:62
FixedRowVector(const FixedMatrix< T, DIM, 1 > &other)
Definition: FixedVector.h:66