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
|
23 |
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
|
947 |
Yes |
new |
296
|
3 |
Yes |
new_from_sub |
341
|
2 |
Yes |
new_from_rows |
383
|
1 |
Yes |
new_from_cols |
405
|
91 |
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
|
127 |
Yes |
clone |
814
|
2 |
Yes |
diagonal |
863
|
4 |
Yes |
tridiagonal |
934
|
4 |
Yes |
blkdiag |
998
|
56 |
Yes |
is_empty |
1015
|
111 |
Yes |
is_scalar |
1032
|
52 |
Yes |
is_vector |
1049
|
73 |
Yes |
is_row |
1066
|
81 |
Yes |
is_col |
1083
|
78 |
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
|
2087 |
Yes |
size |
2363
|
193 |
Yes |
nelm |
2380
|
657 |
Yes |
nrow |
2397
|
590 |
Yes |
ncol |
2414
|
6 |
Yes |
npag |
2432
|
6 |
Yes |
ndim |
2472
|
18 |
Yes |
bandwidth |
2526
|
25 |
Yes |
catrow |
2564
|
92 |
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
|
22 |
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
|
27 |
Yes |
mul |
4049
|
34 |
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
|
13 |
Yes |
mpow |
4335
|
4 |
Yes |
spow |
4339
|
14 |
n/a |
__ANON__ |
4358
|
1 |
Yes |
inv |
4371
|
1 |
Yes |
invert |
4394
|
4 |
Yes |
minv |
4414
|
2 |
Yes |
sinv |
4470
|
12 |
Yes |
mldiv |
4679
|
2 |
Yes |
sldiv |
4701
|
1 |
Yes |
mrdiv |
4726
|
2 |
Yes |
srdiv |
4741
|
6 |
Yes |
sdiv |
4745
|
126 |
n/a |
__ANON__ |
4763
|
2 |
Yes |
mpinv |
4778
|
1 |
Yes |
pinv |
4791
|
0 |
Yes |
pinvert |
4808
|
3 |
Yes |
solve |
4867
|
2 |
Yes |
chol |
4908
|
34 |
Yes |
transpose |
4935
|
37 |
Yes |
minormatrix |
4976
|
36 |
Yes |
minor |
4997
|
4 |
Yes |
cofactormatrix |
5026
|
9 |
Yes |
cofactor |
5049
|
2 |
Yes |
adjugate |
5071
|
59 |
Yes |
det |
5111
|
56 |
Yes |
determinant |
5129
|
3 |
Yes |
detr |
5197
|
4 |
Yes |
int |
5215
|
2 |
Yes |
floor |
5238
|
2 |
Yes |
ceil |
5265
|
3 |
Yes |
abs |
5287
|
2 |
Yes |
sign |
5321
|
12 |
Yes |
sum |
5340
|
12 |
Yes |
prod |
5359
|
12 |
Yes |
mean |
5390
|
12 |
Yes |
hypot |
5409
|
12 |
Yes |
min |
5428
|
12 |
Yes |
max |
5447
|
12 |
Yes |
median |
5466
|
12 |
Yes |
cumsum |
5485
|
12 |
Yes |
cumprod |
5504
|
12 |
Yes |
cummean |
5523
|
12 |
Yes |
diff |
5546
|
34 |
Yes |
vecnorm |
5564
|
46 |
n/a |
__ANON__ |
5583
|
226 |
Yes |
apply |
5674
|
7 |
Yes |
meq |
5711
|
7 |
Yes |
mne |
5749
|
5 |
Yes |
equal |
5782
|
1 |
Yes |
seq |
5791
|
9 |
n/a |
__ANON__ |
5806
|
1 |
Yes |
sne |
5815
|
9 |
n/a |
__ANON__ |
5830
|
1 |
Yes |
slt |
5839
|
9 |
n/a |
__ANON__ |
5854
|
1 |
Yes |
sle |
5863
|
9 |
n/a |
__ANON__ |
5878
|
1 |
Yes |
sgt |
5887
|
9 |
n/a |
__ANON__ |
5902
|
1 |
Yes |
sge |
5911
|
9 |
n/a |
__ANON__ |
5928
|
1 |
Yes |
scmp |
5937
|
9 |
n/a |
__ANON__ |
5964
|
3 |
Yes |
dot_product |
6001
|
1 |
Yes |
outer_product |
6029
|
8 |
Yes |
absolute |
6047
|
2 |
Yes |
normalize |
6067
|
3 |
Yes |
cross_product |
6104
|
12 |
Yes |
as_string |
6127
|
3 |
Yes |
as_array |
6155
|
3 |
Yes |
map |
6293
|
182 |
Yes |
sapply |
6434
|
1 |
Yes |
felim_np |
6512
|
1 |
Yes |
felim_tp |
6608
|
1 |
Yes |
felim_pp |
6704
|
1 |
Yes |
felim_sp |
6820
|
70 |
Yes |
felim_fp |
6936
|
10 |
Yes |
bsubs |
7037
|
7 |
Yes |
print |
7052
|
1 |
Yes |
version |
7064
|
312 |
n/a |
_sum |
7084
|
27 |
n/a |
_prod |
7094
|
27 |
n/a |
_mean |
7111
|
22 |
n/a |
_hypot |
7133
|
0 |
n/a |
_sumsq |
7143
|
46 |
n/a |
_vecnorm |
7175
|
27 |
n/a |
_min |
7188
|
63 |
n/a |
_max |
7201
|
27 |
n/a |
_median |
7215
|
27 |
n/a |
_any |
7226
|
27 |
n/a |
_all |
7238
|
27 |
n/a |
_cumsum |
7263
|
27 |
n/a |
_cumprod |
7274
|
27 |
n/a |
_cummean |
7289
|
0 |
n/a |
_cummin |
7302
|
0 |
n/a |
_cummax |
7316
|
27 |
n/a |
_cumany |
7334
|
27 |
n/a |
_cumall |
7351
|
27 |
n/a |
_diff |