This is a static copy of a profile reportHome
tformarray>IsFinitePositiveIntegerRowVector (5163 calls, 0.190 sec)
Generated 05-Nov-2014 07:53:14 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/tformarray.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
728 | q = ~(~isreal(v) ..... | 5163 | 0.100 s | 52.6% |  |
732 | end | 5163 | 0.040 s | 21.1% |  |
727 | if q | 5163 | 0.010 s | 5.3% |  |
721 | q = isa(v,'double') ... | 5163 | 0 s | 0% |  |
All other lines | | | 0.040 s | 21.1% |  |
Totals | | | 0.190 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 14 |
Non-code lines (comments, blank lines) | 10 |
Code lines (lines that can run) | 4 |
Code lines that did run | 4 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
719 function q = IsFinitePositiveIntegerRowVector( v )
720
5163 721 q = isa(v,'double') ...
722 & ~issparse(v) ...
723 & ndims(v) == 2 ...
724 & size(v,1) == 1 ...
725 & size(v,2) >= 1;
726
0.01 5163 727 if q
0.10 5163 728 q = ~(~isreal(v) ...
729 | ~all(v == floor(v)) ...
730 | ~all(isfinite(v)) ...
731 | any(v < 1));
0.04 5163 732 end