Last change
on this file since 5669 was
5669,
checked in by bensch, 19 years ago
|
orxonox/trunk: eigenvectors ar fuing right now
|
File size:
502 bytes
|
Line | |
---|
1 | |
---|
2 | #include "matrix.h" |
---|
3 | |
---|
4 | int main (int argc, char** argv) |
---|
5 | { |
---|
6 | |
---|
7 | Matrix matrix( 0, 1, -1, |
---|
8 | 1, 1, 0, |
---|
9 | -1, 0, 1); |
---|
10 | |
---|
11 | Vector eigVc[3]; |
---|
12 | |
---|
13 | matrix.debug(); |
---|
14 | // matrix.getEigenValues(); |
---|
15 | matrix.getEigenVectors(eigVc[0], eigVc[1], eigVc[2]); |
---|
16 | |
---|
17 | matrix = Matrix (0, 3, 1, |
---|
18 | 3, 1, 0, |
---|
19 | 1, 0, 1); |
---|
20 | matrix.debug(); |
---|
21 | matrix.getEigenVectors(eigVc[0], eigVc[1], eigVc[2]); |
---|
22 | } |
---|
23 | |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.