Simbody
3.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SmallMatrix.h
Go to the documentation of this file.
1
#ifndef SimTK_SIMMATRIX_SMALLMATRIX_H_
2
#define SimTK_SIMMATRIX_SMALLMATRIX_H_
3
4
/* -------------------------------------------------------------------------- *
5
* Simbody(tm): SimTKcommon *
6
* -------------------------------------------------------------------------- *
7
* This is part of the SimTK biosimulation toolkit originating from *
8
* Simbios, the NIH National Center for Physics-Based Simulation of *
9
* Biological Structures at Stanford, funded under the NIH Roadmap for *
10
* Medical Research, grant U54 GM072970. See https://simtk.org/home/simbody. *
11
* *
12
* Portions copyright (c) 2005-13 Stanford University and the Authors. *
13
* Authors: Michael Sherman *
14
* Contributors: *
15
* *
16
* Licensed under the Apache License, Version 2.0 (the "License"); you may *
17
* not use this file except in compliance with the License. You may obtain a *
18
* copy of the License at http://www.apache.org/licenses/LICENSE-2.0. *
19
* *
20
* Unless required by applicable law or agreed to in writing, software *
21
* distributed under the License is distributed on an "AS IS" BASIS, *
22
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
23
* See the License for the specific language governing permissions and *
24
* limitations under the License. *
25
* -------------------------------------------------------------------------- */
26
88
#include "
SimTKcommon/Scalar.h
"
89
#include "
SimTKcommon/TemplatizedLapack.h
"
90
91
92
#include "SimTKcommon/internal/ResultType.h"
93
#include "
SimTKcommon/internal/Vec.h
"
94
#include "
SimTKcommon/internal/Row.h
"
95
#include "
SimTKcommon/internal/Mat.h
"
96
#include "
SimTKcommon/internal/SymMat.h
"
97
#include "
SimTKcommon/internal/SmallMatrixMixed.h
"
98
99
// Friendly abbreviations.
100
namespace
SimTK {
126
typedef
Vec<2>
Vec2
;
129
typedef
Vec<3>
Vec3
;
132
typedef
Vec<4>
Vec4
;
133
134
138
typedef
Mat<2, 2>
Mat22
;
142
typedef
Mat<3, 3>
Mat33
;
146
typedef
Mat<4, 4>
Mat44
;
147
149
typedef
SymMat<2>
SymMat22
;
151
typedef
SymMat<3>
SymMat33
;
153
typedef
SymMat<4>
SymMat44
;
154
157
typedef
Row<2>
Row2
;
160
typedef
Row<3>
Row3
;
163
typedef
Row<4>
Row4
;
170
// Less-popular Vec typedefs.
171
typedef
Vec<1>
Vec1
;
172
typedef
Vec<5>
Vec5
;
173
typedef
Vec<6>
Vec6
;
174
typedef
Vec<7>
Vec7
;
175
typedef
Vec<8>
Vec8
;
176
typedef
Vec<9>
Vec9
;
177
178
// Less-popular Mat typedefs.
179
typedef
Mat<1,1>
Mat11
;
180
typedef
Mat<1,2>
Mat12
;
181
typedef
Mat<1,3>
Mat13
;
182
typedef
Mat<1,4>
Mat14
;
183
typedef
Mat<1,5>
Mat15
;
184
typedef
Mat<1,6>
Mat16
;
185
typedef
Mat<1,7>
Mat17
;
186
typedef
Mat<1,8>
Mat18
;
187
typedef
Mat<1,9>
Mat19
;
188
189
typedef
Mat<2,1>
Mat21
;
190
typedef
Mat<2,3>
Mat23
;
191
typedef
Mat<2,4>
Mat24
;
192
typedef
Mat<2,5>
Mat25
;
193
typedef
Mat<2,6>
Mat26
;
194
typedef
Mat<2,7>
Mat27
;
195
typedef
Mat<2,8>
Mat28
;
196
typedef
Mat<2,9>
Mat29
;
197
198
typedef
Mat<3,1>
Mat31
;
199
typedef
Mat<3,2>
Mat32
;
200
typedef
Mat<3,4>
Mat34
;
201
typedef
Mat<3,5>
Mat35
;
202
typedef
Mat<3,6>
Mat36
;
203
typedef
Mat<3,7>
Mat37
;
204
typedef
Mat<3,8>
Mat38
;
205
typedef
Mat<3,9>
Mat39
;
206
207
typedef
Mat<4,1>
Mat41
;
208
typedef
Mat<4,2>
Mat42
;
209
typedef
Mat<4,3>
Mat43
;
210
typedef
Mat<4,5>
Mat45
;
211
typedef
Mat<4,6>
Mat46
;
212
typedef
Mat<4,7>
Mat47
;
213
typedef
Mat<4,8>
Mat48
;
214
typedef
Mat<4,9>
Mat49
;
215
216
typedef
Mat<5,1>
Mat51
;
217
typedef
Mat<5,2>
Mat52
;
218
typedef
Mat<5,3>
Mat53
;
219
typedef
Mat<5,4>
Mat54
;
220
typedef
Mat<5,5>
Mat55
;
221
typedef
Mat<5,6>
Mat56
;
222
typedef
Mat<5,7>
Mat57
;
223
typedef
Mat<5,8>
Mat58
;
224
typedef
Mat<5,9>
Mat59
;
225
226
typedef
Mat<6,1>
Mat61
;
227
typedef
Mat<6,2>
Mat62
;
228
typedef
Mat<6,3>
Mat63
;
229
typedef
Mat<6,4>
Mat64
;
230
typedef
Mat<6,5>
Mat65
;
231
typedef
Mat<6,6>
Mat66
;
232
typedef
Mat<6,7>
Mat67
;
233
typedef
Mat<6,8>
Mat68
;
234
typedef
Mat<6,9>
Mat69
;
235
236
typedef
Mat<7,1>
Mat71
;
237
typedef
Mat<7,2>
Mat72
;
238
typedef
Mat<7,3>
Mat73
;
239
typedef
Mat<7,4>
Mat74
;
240
typedef
Mat<7,5>
Mat75
;
241
typedef
Mat<7,6>
Mat76
;
242
typedef
Mat<7,7>
Mat77
;
243
typedef
Mat<7,8>
Mat78
;
244
typedef
Mat<7,9>
Mat79
;
245
246
typedef
Mat<8,1>
Mat81
;
247
typedef
Mat<8,2>
Mat82
;
248
typedef
Mat<8,3>
Mat83
;
249
typedef
Mat<8,4>
Mat84
;
250
typedef
Mat<8,5>
Mat85
;
251
typedef
Mat<8,6>
Mat86
;
252
typedef
Mat<8,7>
Mat87
;
253
typedef
Mat<8,8>
Mat88
;
254
typedef
Mat<8,9>
Mat89
;
255
256
typedef
Mat<9,1>
Mat91
;
257
typedef
Mat<9,2>
Mat92
;
258
typedef
Mat<9,3>
Mat93
;
259
typedef
Mat<9,4>
Mat94
;
260
typedef
Mat<9,5>
Mat95
;
261
typedef
Mat<9,6>
Mat96
;
262
typedef
Mat<9,7>
Mat97
;
263
typedef
Mat<9,8>
Mat98
;
264
typedef
Mat<9,9>
Mat99
;
265
266
// Less-popular SymMat typedefs.
267
typedef
SymMat<1>
SymMat11
;
268
typedef
SymMat<5>
SymMat55
;
269
typedef
SymMat<6>
SymMat66
;
270
typedef
SymMat<7>
SymMat77
;
271
typedef
SymMat<8>
SymMat88
;
272
typedef
SymMat<9>
SymMat99
;
273
274
// Less-popular Row typedefs.
275
typedef
Row<1>
Row1
;
276
277
typedef
Row<5>
Row5
;
279
typedef
Row<6>
Row6
;
281
typedef
Row<7>
Row7
;
283
typedef
Row<8>
Row8
;
285
typedef
Row<9>
Row9
;
286
287
// float-precision Vecs.
288
typedef
Vec<1, float>
fVec1
;
289
typedef
Vec<2, float>
fVec2
;
290
typedef
Vec<3, float>
fVec3
;
291
typedef
Vec<4, float>
fVec4
;
292
typedef
Vec<5, float>
fVec5
;
293
typedef
Vec<6, float>
fVec6
;
294
typedef
Vec<7, float>
fVec7
;
295
typedef
Vec<8, float>
fVec8
;
296
typedef
Vec<9, float>
fVec9
;
297
298
// Just doing some of the popular ones for now.
299
typedef
Mat<1,1,float>
fMat11
;
300
typedef
Mat<2,2,float>
fMat22
;
301
typedef
Mat<3,3,float>
fMat33
;
302
typedef
Mat<3,4,float>
fMat34
;
303
typedef
Mat<4,3,float>
fMat43
;
304
typedef
Mat<4,4,float>
fMat44
;
305
typedef
Mat<5,5,float>
fMat55
;
306
typedef
Mat<6,6,float>
fMat66
;
307
typedef
Mat<7,7,float>
fMat77
;
308
typedef
Mat<8,8,float>
fMat88
;
309
typedef
Mat<9,9,float>
fMat99
;
310
312
typedef
SymMat<1, float>
fSymMat11
;
313
typedef
SymMat<2, float>
fSymMat22
;
314
typedef
SymMat<3, float>
fSymMat33
;
315
typedef
SymMat<4, float>
fSymMat44
;
316
typedef
SymMat<5, float>
fSymMat55
;
317
typedef
SymMat<6, float>
fSymMat66
;
318
typedef
SymMat<7, float>
fSymMat77
;
319
typedef
SymMat<8, float>
fSymMat88
;
320
typedef
SymMat<9, float>
fSymMat99
;
321
322
// float-precision Rows.
323
typedef
Row<1, float>
fRow1
;
324
typedef
Row<2, float>
fRow2
;
325
typedef
Row<3, float>
fRow3
;
326
typedef
Row<4, float>
fRow4
;
327
typedef
Row<5, float>
fRow5
;
328
typedef
Row<6, float>
fRow6
;
329
typedef
Row<7, float>
fRow7
;
330
typedef
Row<8, float>
fRow8
;
331
typedef
Row<9, float>
fRow9
;
332
334
}
//namespace SimTK
335
336
337
#endif //SimTK_SIMMATRIX_SMALLMATRIX_H_
SimTKcommon
SmallMatrix
include
SimTKcommon
SmallMatrix.h
Generated on Tue Dec 2 2014 13:13:29 for Simbody by
1.8.1.2