Panda3D
panda
src
linmath
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>
18
INLINE
const
FloatType &
LSimpleMatrix<FloatType, NumRows, 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>
27
INLINE FloatType &
LSimpleMatrix<FloatType, NumRows, 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>
36
INLINE
const
FloatType &
LSimpleMatrix<FloatType, NumRows, NumCols>::
37
operator ()
(
int
col)
const
{
38
return
_array[0][col];
39
}
40
41
/**
42
*
43
*/
44
template
<
class
FloatType,
int
NumRows,
int
NumCols>
45
INLINE FloatType &
LSimpleMatrix<FloatType, NumRows, NumCols>::
46
operator ()
(
int
col) {
47
return
_array[0][col];
48
}
LSimpleMatrix
This class provides an underlying storage of the various linear-algebra classes (e....
Definition:
lsimpleMatrix.h:29
Generated on Wed Jan 23 2019 21:40:05 for Panda3D by
1.8.15