line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------- |
2
|
|
|
|
|
|
|
# |
3
|
|
|
|
|
|
|
# Math::GMatrix |
4
|
|
|
|
|
|
|
# |
5
|
|
|
|
|
|
|
# $Id: GMatrix.pm,v 1.5 2004/02/05 12:17:44 acester Exp $ |
6
|
|
|
|
|
|
|
# |
7
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------- |
8
|
|
|
|
|
|
|
# |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
# |
11
|
|
|
|
|
|
|
# Version History: |
12
|
|
|
|
|
|
|
# ---------------- |
13
|
|
|
|
|
|
|
# $Date: 2004/02/05 12:17:44 $ |
14
|
|
|
|
|
|
|
# $Revision: 1.5 $ |
15
|
|
|
|
|
|
|
# $Log: GMatrix.pm,v $ |
16
|
|
|
|
|
|
|
# Revision 1.5 2004/02/05 12:17:44 acester |
17
|
|
|
|
|
|
|
# added docs and test script |
18
|
|
|
|
|
|
|
# |
19
|
|
|
|
|
|
|
# Revision 1.4 2004/02/05 06:41:31 acester |
20
|
|
|
|
|
|
|
# eps variable introduced (epsilon, floating point calculation accuracy) |
21
|
|
|
|
|
|
|
# |
22
|
|
|
|
|
|
|
# Revision 1.3 2004/02/04 15:45:27 acester |
23
|
|
|
|
|
|
|
# short description added |
24
|
|
|
|
|
|
|
# |
25
|
|
|
|
|
|
|
# ----------------------------------------------------------------------------- |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
package Math::GMatrix; |
28
|
1
|
|
|
1
|
|
12548
|
use vars qw($VERSION $eps); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
52
|
|
29
|
|
|
|
|
|
|
|
30
|
1
|
|
|
1
|
|
20
|
use 5.006; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
34
|
|
31
|
1
|
|
|
1
|
|
5
|
use strict; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
38
|
|
32
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
38
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
require Exporter; |
35
|
1
|
|
|
1
|
|
1013
|
use AutoLoader qw(AUTOLOAD); |
|
1
|
|
|
|
|
1665
|
|
|
1
|
|
|
|
|
6
|
|
36
|
1
|
|
|
1
|
|
32
|
use Carp; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
74
|
|
37
|
|
|
|
|
|
|
|
38
|
1
|
|
|
1
|
|
1657
|
use Math::Matrix; |
|
0
|
|
|
|
|
|
|
|
0
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
our @ISA = qw(Math::Matrix Exporter); |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
# Items to export into callers namespace by default. Note: do not export |
42
|
|
|
|
|
|
|
# names by default without a very good reason. Use EXPORT_OK instead. |
43
|
|
|
|
|
|
|
# Do not simply export all your public functions/methods/constants. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
# This allows declaration use Math::GMatrix ':all'; |
46
|
|
|
|
|
|
|
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK |
47
|
|
|
|
|
|
|
# will save memory. |
48
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( 'all' => [ qw( |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
) ] ); |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
our @EXPORT = qw( |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
our $VERSION = '0.2'; |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
# Preloaded methods go here. |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
# Autoload methods go after =cut, and are processed by the autosplit program. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
1; |
65
|
|
|
|
|
|
|
__END__ |