Panda3D
lsimpleMatrix.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file lsimpleMatrix.I
10  * @author drose
11  * @date 2011-12-15
12  */
13 
14 /**
15  *
16  */
17 template <class FloatType, int NumRows, int NumCols>
19 operator () (int row, int col) const {
20  return _array[row][col];
21 }
22 
23 /**
24  *
25  */
26 template <class FloatType, int NumRows, int NumCols>
28 operator () (int row, int col) {
29  return _array[row][col];
30 }
31 
32 /**
33  *
34  */
35 template <class FloatType, int NumRows, int NumCols>
37 operator () (int col) const {
38  return _array[0][col];
39 }
40 
41 /**
42  *
43  */
44 template <class FloatType, int NumRows, int NumCols>
46 operator () (int col) {
47  return _array[0][col];
48 }
This class provides an underlying storage of the various linear-algebra classes (e....
Definition: lsimpleMatrix.h:29