Subroutine Coverage
blib/lib/Math/Matrix.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
228 |
233 |
97.8
|
pod |
187 |
187 |
100.0
|
line |
count |
pod |
subroutine |
5
|
124 |
n/a |
BEGIN |
6
|
124 |
n/a |
BEGIN |
8
|
124 |
n/a |
BEGIN |
9
|
124 |
n/a |
BEGIN |
17
|
3 |
n/a |
__ANON__ |
22
|
6 |
n/a |
__ANON__ |
33
|
18 |
n/a |
__ANON__ |
38
|
3 |
n/a |
__ANON__ |
47
|
2 |
n/a |
__ANON__ |
52
|
2 |
n/a |
__ANON__ |
57
|
2 |
n/a |
__ANON__ |
62
|
1 |
n/a |
__ANON__ |
68
|
124 |
n/a |
BEGIN |
157
|
939 |
Yes |
new |
296
|
3 |
Yes |
new_from_sub |
341
|
2 |
Yes |
new_from_rows |
383
|
1 |
Yes |
new_from_cols |
405
|
87 |
Yes |
id |
436
|
14 |
Yes |
new_identity |
448
|
6 |
Yes |
eye |
462
|
5 |
Yes |
exchg |
489
|
6 |
Yes |
scalar |
521
|
13 |
Yes |
zeros |
542
|
5 |
Yes |
ones |
563
|
5 |
Yes |
inf |
587
|
5 |
Yes |
nan |
613
|
33 |
Yes |
constant |
652
|
6 |
Yes |
rand |
692
|
6 |
Yes |
randi |
742
|
6 |
Yes |
randn |
781
|
123 |
Yes |
clone |
814
|
2 |
Yes |
diagonal |
863
|
4 |
Yes |
tridiagonal |
934
|
4 |
Yes |
blkdiag |
998
|
52 |
Yes |
is_empty |
1015
|
99 |
Yes |
is_scalar |
1032
|
52 |
Yes |
is_vector |
1049
|
73 |
Yes |
is_row |
1066
|
81 |
Yes |
is_col |
1083
|
76 |
Yes |
is_square |
1107
|
50 |
Yes |
is_symmetric |
1142
|
25 |
Yes |
is_antisymmetric |
1185
|
23 |
Yes |
is_persymmetric |
1213
|
23 |
Yes |
is_hankel |
1253
|
25 |
Yes |
is_zero |
1271
|
25 |
Yes |
is_one |
1289
|
75 |
Yes |
is_constant |
1321
|
25 |
Yes |
is_identity |
1355
|
25 |
Yes |
is_exchg |
1390
|
25 |
Yes |
is_bool |
1424
|
25 |
Yes |
is_perm |
1465
|
25 |
Yes |
is_int |
1501
|
25 |
Yes |
is_diag |
1528
|
25 |
Yes |
is_adiag |
1556
|
25 |
Yes |
is_tridiag |
1584
|
25 |
Yes |
is_atridiag |
1612
|
25 |
Yes |
is_pentadiag |
1641
|
25 |
Yes |
is_apentadiag |
1669
|
25 |
Yes |
is_heptadiag |
1698
|
25 |
Yes |
is_aheptadiag |
1727
|
225 |
Yes |
is_band |
1785
|
225 |
Yes |
is_aband |
1845
|
25 |
Yes |
is_triu |
1883
|
25 |
Yes |
is_striu |
1921
|
25 |
Yes |
is_tril |
1959
|
25 |
Yes |
is_stril |
1997
|
25 |
Yes |
is_atriu |
2035
|
25 |
Yes |
is_satriu |
2073
|
25 |
Yes |
is_atril |
2111
|
25 |
Yes |
is_satril |
2155
|
4 |
Yes |
find |
2189
|
2 |
Yes |
is_finite |
2217
|
2 |
Yes |
is_inf |
2244
|
2 |
Yes |
is_nan |
2265
|
12 |
Yes |
all |
2285
|
12 |
Yes |
any |
2304
|
12 |
Yes |
cumall |
2323
|
12 |
Yes |
cumany |
2346
|
2071 |
Yes |
size |
2363
|
177 |
Yes |
nelm |
2380
|
635 |
Yes |
nrow |
2397
|
576 |
Yes |
ncol |
2414
|
6 |
Yes |
npag |
2432
|
6 |
Yes |
ndim |
2472
|
18 |
Yes |
bandwidth |
2526
|
25 |
Yes |
catrow |
2564
|
90 |
Yes |
catcol |
2603
|
4 |
Yes |
getrow |
2646
|
4 |
Yes |
getcol |
2690
|
5 |
Yes |
delrow |
2740
|
5 |
Yes |
delcol |
2795
|
11 |
Yes |
concat |
2845
|
12 |
Yes |
splicerow |
2921
|
20 |
Yes |
splicecol |
3018
|
5 |
Yes |
swaprc |
3042
|
2 |
Yes |
flipud |
3062
|
25 |
Yes |
fliplr |
3086
|
12 |
Yes |
flip |
3089
|
20 |
n/a |
__ANON__ |
3104
|
12 |
Yes |
rot90 |
3174
|
2 |
Yes |
rot180 |
3191
|
2 |
Yes |
rot270 |
3228
|
5 |
Yes |
repelm |
3292
|
5 |
Yes |
repmat |
3356
|
30 |
Yes |
reshape |
3450
|
30 |
Yes |
to_row |
3482
|
19 |
Yes |
to_col |
3524
|
4 |
Yes |
to_permmat |
3570
|
4 |
Yes |
to_permvec |
3620
|
12 |
Yes |
triu |
3666
|
12 |
Yes |
tril |
3706
|
16 |
Yes |
slice |
3728
|
1 |
Yes |
diagonal_vector |
3752
|
1 |
Yes |
tridiagonal_vector |
3790
|
8 |
Yes |
add |
3815
|
5 |
Yes |
madd |
3853
|
9 |
Yes |
sadd |
3857
|
33 |
n/a |
__ANON__ |
3882
|
9 |
Yes |
sub |
3907
|
6 |
Yes |
msub |
3945
|
9 |
Yes |
ssub |
3949
|
33 |
n/a |
__ANON__ |
3962
|
1 |
Yes |
subtract |
3987
|
4 |
Yes |
neg |
4002
|
0 |
Yes |
negative |
4025
|
22 |
Yes |
mul |
4049
|
29 |
Yes |
mmul |
4089
|
12 |
Yes |
smul |
4093
|
36 |
n/a |
__ANON__ |
4117
|
2 |
Yes |
mmuladd |
4166
|
4 |
Yes |
kron |
4203
|
8 |
Yes |
multiply |
4219
|
7 |
Yes |
multiply_scalar |
4251
|
7 |
Yes |
pow |
4279
|
11 |
Yes |
mpow |
4330
|
4 |
Yes |
spow |
4334
|
14 |
n/a |
__ANON__ |
4353
|
1 |
Yes |
inv |
4366
|
1 |
Yes |
invert |
4389
|
2 |
Yes |
minv |
4409
|
2 |
Yes |
sinv |
4465
|
10 |
Yes |
mldiv |
4674
|
2 |
Yes |
sldiv |
4696
|
1 |
Yes |
mrdiv |
4721
|
2 |
Yes |
srdiv |
4736
|
6 |
Yes |
sdiv |
4740
|
126 |
n/a |
__ANON__ |
4758
|
2 |
Yes |
mpinv |
4773
|
1 |
Yes |
pinv |
4786
|
0 |
Yes |
pinvert |
4803
|
3 |
Yes |
solve |
4862
|
2 |
Yes |
chol |
4903
|
34 |
Yes |
transpose |
4930
|
37 |
Yes |
minormatrix |
4971
|
36 |
Yes |
minor |
4992
|
4 |
Yes |
cofactormatrix |
5021
|
9 |
Yes |
cofactor |
5044
|
2 |
Yes |
adjugate |
5066
|
59 |
Yes |
det |
5106
|
56 |
Yes |
determinant |
5124
|
3 |
Yes |
detr |
5192
|
4 |
Yes |
int |
5210
|
2 |
Yes |
floor |
5233
|
2 |
Yes |
ceil |
5260
|
3 |
Yes |
abs |
5282
|
2 |
Yes |
sign |
5316
|
12 |
Yes |
sum |
5335
|
12 |
Yes |
prod |
5354
|
12 |
Yes |
mean |
5385
|
12 |
Yes |
hypot |
5404
|
12 |
Yes |
min |
5423
|
12 |
Yes |
max |
5442
|
12 |
Yes |
median |
5461
|
12 |
Yes |
cumsum |
5480
|
12 |
Yes |
cumprod |
5499
|
12 |
Yes |
cummean |
5518
|
12 |
Yes |
diff |
5541
|
34 |
Yes |
vecnorm |
5559
|
46 |
n/a |
__ANON__ |
5578
|
226 |
Yes |
apply |
5669
|
7 |
Yes |
meq |
5706
|
7 |
Yes |
mne |
5744
|
5 |
Yes |
equal |
5777
|
1 |
Yes |
seq |
5786
|
9 |
n/a |
__ANON__ |
5801
|
1 |
Yes |
sne |
5810
|
9 |
n/a |
__ANON__ |
5825
|
1 |
Yes |
slt |
5834
|
9 |
n/a |
__ANON__ |
5849
|
1 |
Yes |
sle |
5858
|
9 |
n/a |
__ANON__ |
5873
|
1 |
Yes |
sgt |
5882
|
9 |
n/a |
__ANON__ |
5897
|
1 |
Yes |
sge |
5906
|
9 |
n/a |
__ANON__ |
5923
|
1 |
Yes |
scmp |
5932
|
9 |
n/a |
__ANON__ |
5959
|
3 |
Yes |
dot_product |
5996
|
1 |
Yes |
outer_product |
6024
|
8 |
Yes |
absolute |
6042
|
2 |
Yes |
normalize |
6062
|
3 |
Yes |
cross_product |
6099
|
12 |
Yes |
as_string |
6122
|
3 |
Yes |
as_array |
6150
|
3 |
Yes |
map |
6288
|
176 |
Yes |
sapply |
6429
|
1 |
Yes |
felim_np |
6507
|
1 |
Yes |
felim_tp |
6603
|
1 |
Yes |
felim_pp |
6699
|
1 |
Yes |
felim_sp |
6815
|
68 |
Yes |
felim_fp |
6931
|
8 |
Yes |
bsubs |
7032
|
7 |
Yes |
print |
7047
|
1 |
Yes |
version |
7059
|
292 |
n/a |
_sum |
7079
|
27 |
n/a |
_prod |
7089
|
27 |
n/a |
_mean |
7106
|
22 |
n/a |
_hypot |
7128
|
0 |
n/a |
_sumsq |
7138
|
46 |
n/a |
_vecnorm |
7170
|
27 |
n/a |
_min |
7183
|
63 |
n/a |
_max |
7196
|
27 |
n/a |
_median |
7210
|
27 |
n/a |
_any |
7221
|
27 |
n/a |
_all |
7233
|
27 |
n/a |
_cumsum |
7258
|
27 |
n/a |
_cumprod |
7269
|
27 |
n/a |
_cummean |
7284
|
0 |
n/a |
_cummin |
7297
|
0 |
n/a |
_cummax |
7311
|
27 |
n/a |
_cumany |
7329
|
27 |
n/a |
_cumall |
7346
|
27 |
n/a |
_diff |