ML Reference
mlVector64.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef ML_VECTOR64_H
14#define ML_VECTOR64_H
15
17
18// Include system independent file and project settings.
20#include "mlLinearAlgebraDefs.h"
22
23// All declarations of this header will be in the ML_LA_NAMESPACE namespace.
24ML_LA_START_NAMESPACE
25
26//--------------------------------------------------------------------
28//--------------------------------------------------------------------
30template <class DT>
31class Tvec64 : public FloatingPointVector<DT,64>
32{
33public:
34
37
39 typedef DT ComponentType;
40
41 //--------------------------------------------------------------------
44 //--------------------------------------------------------------------
47 inline explicit Tvec64(DT value=0) : Superclass(value)
48 {
49 }
50
54 inline Tvec64(const Superclass &v) : Superclass(v)
55 {
56 }
57
59 inline Tvec64(const DT x00, const DT x01, const DT x02, const DT x03,
60 const DT x04, const DT x05, const DT x06, const DT x07,
61 const DT x08, const DT x09, const DT x10, const DT x11,
62 const DT x12, const DT x13, const DT x14, const DT x15,
63 const DT x16, const DT x17, const DT x18, const DT x19,
64 const DT x20, const DT x21, const DT x22, const DT x23,
65 const DT x24, const DT x25, const DT x26, const DT x27,
66 const DT x28, const DT x29, const DT x30, const DT x31,
67
68 const DT x32, const DT x33, const DT x34, const DT x35,
69 const DT x36, const DT x37, const DT x38, const DT x39,
70 const DT x40, const DT x41, const DT x42, const DT x43,
71 const DT x44, const DT x45, const DT x46, const DT x47,
72 const DT x48, const DT x49, const DT x50, const DT x51,
73 const DT x52, const DT x53, const DT x54, const DT x55,
74 const DT x56, const DT x57, const DT x58, const DT x59,
75 const DT x60, const DT x61, const DT x62, const DT x63)
76 {
77 assign(x00, x01, x02, x03, x04, x05, x06, x07,
78 x08, x09, x10, x11, x12, x13, x14, x15,
79 x16, x17, x18, x19, x20, x21, x22, x23,
80 x24, x25, x26, x27, x28, x29, x30, x31,
81 x32, x33, x34, x35, x36, x37, x38, x39,
82 x40, x41, x42, x43, x44, x45, x46, x47,
83 x48, x49, x50, x51, x52, x53, x54, x55,
84 x56, x57, x58, x59, x60, x61, x62, x63);
85 }
86
87
88 //--------------------------------------------------------------------
91 //--------------------------------------------------------------------
93 inline void assign(const DT x00, const DT x01, const DT x02, const DT x03,
94 const DT x04, const DT x05, const DT x06, const DT x07,
95 const DT x08, const DT x09, const DT x10, const DT x11,
96 const DT x12, const DT x13, const DT x14, const DT x15,
97 const DT x16, const DT x17, const DT x18, const DT x19,
98 const DT x20, const DT x21, const DT x22, const DT x23,
99 const DT x24, const DT x25, const DT x26, const DT x27,
100 const DT x28, const DT x29, const DT x30, const DT x31,
101
102 const DT x32, const DT x33, const DT x34, const DT x35,
103 const DT x36, const DT x37, const DT x38, const DT x39,
104 const DT x40, const DT x41, const DT x42, const DT x43,
105 const DT x44, const DT x45, const DT x46, const DT x47,
106 const DT x48, const DT x49, const DT x50, const DT x51,
107 const DT x52, const DT x53, const DT x54, const DT x55,
108 const DT x56, const DT x57, const DT x58, const DT x59,
109 const DT x60, const DT x61, const DT x62, const DT x63)
110 {
143 }
144
145};
146
147
148//-----------------------------------------------------------------------------------
151//-----------------------------------------------------------------------------------
161
162ML_LA_END_NAMESPACE
163
164#endif //of __mlVector64_H
165
166
A 64 dimensional vector class for floating point types.
Definition mlVector64.h:32
Tvec64(const Superclass &v)
Definition mlVector64.h:54
Tvec64(DT value=0)
Definition mlVector64.h:47
FloatingPointVector< DT, 64 > Superclass
A typedef as a shorthand for the base class.
Definition mlVector64.h:36
DT ComponentType
A typedef to 'export' the type of components.
Definition mlVector64.h:39
void assign(const MLfloat x00, const MLfloat x01, const MLfloat x02, const MLfloat x03, const MLfloat x04, const MLfloat x05, const MLfloat x06, const MLfloat x07, const MLfloat x08, const MLfloat x09, const MLfloat x10, const MLfloat x11, const MLfloat x12, const MLfloat x13, const MLfloat x14, const MLfloat x15, const MLfloat x16, const MLfloat x17, const MLfloat x18, const MLfloat x19, const MLfloat x20, const MLfloat x21, const MLfloat x22, const MLfloat x23, const MLfloat x24, const MLfloat x25, const MLfloat x26, const MLfloat x27, const MLfloat x28, const MLfloat x29, const MLfloat x30, const MLfloat x31, const MLfloat x32, const MLfloat x33, const MLfloat x34, const MLfloat x35, const MLfloat x36, const MLfloat x37, const MLfloat x38, const MLfloat x39, const MLfloat x40, const MLfloat x41, const MLfloat x42, const MLfloat x43, const MLfloat x44, const MLfloat x45, const MLfloat x46, const MLfloat x47, const MLfloat x48, const MLfloat x49, const MLfloat x50, const MLfloat x51, const MLfloat x52, const MLfloat x53, const MLfloat x54, const MLfloat x55, const MLfloat x56, const MLfloat x57, const MLfloat x58, const MLfloat x59, const MLfloat x60, const MLfloat x61, const MLfloat x62, const MLfloat x63)
Definition mlVector64.h:93
Tvec64(const DT x00, const DT x01, const DT x02, const DT x03, const DT x04, const DT x05, const DT x06, const DT x07, const DT x08, const DT x09, const DT x10, const DT x11, const DT x12, const DT x13, const DT x14, const DT x15, const DT x16, const DT x17, const DT x18, const DT x19, const DT x20, const DT x21, const DT x22, const DT x23, const DT x24, const DT x25, const DT x26, const DT x27, const DT x28, const DT x29, const DT x30, const DT x31, const DT x32, const DT x33, const DT x34, const DT x35, const DT x36, const DT x37, const DT x38, const DT x39, const DT x40, const DT x41, const DT x42, const DT x43, const DT x44, const DT x45, const DT x46, const DT x47, const DT x48, const DT x49, const DT x50, const DT x51, const DT x52, const DT x53, const DT x54, const DT x55, const DT x56, const DT x57, const DT x58, const DT x59, const DT x60, const DT x61, const DT x62, const DT x63)
Builds the vector from the scalars x00, ... x63 to the components 0 to 63, respectively.
Definition mlVector64.h:59
Tvec64< MLfloat > Vector64f
A vector with 64 components of type float.
Definition mlVector64.h:153
Tvec64< MLldouble > Vector64ld
A vector with 64 components of type long double.
Definition mlVector64.h:157
Tvec64< MLdouble > Vector64d
A vector with 64 components of type double.
Definition mlVector64.h:155
Tvec64< MLdouble > Vector64
A vector with 64 components of type double.
Definition mlVector64.h:159