Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #3592
Ticket #3592
: EigenTest.mo
File EigenTest.mo,
217 bytes
(added by
Adeel Asghar
,
9 years ago
)
Line
1
class
EigenTest
2
import
Modelica
.
Math
.
Matrices
;
3
Real
[
3
,
2
]
eigVal
;
4
Real
[
3
,
3
]
eigVec
;
5
Real
A
[
3
,
3
]
=
[
1
,
2
,
3
;
3
,
4
,
5
;
2
,
1
,
4
];
6
algorithm
7
(
eigVal
,
eigVec
)
:=
Matrices
.
eigenValues
(
A
);
8
end
EigenTest
;
Download in other formats:
Original Format