This is a static copy of a profile reportHome
maketform>isdoubleinteger (6884 calls, 0.310 sec)
Generated 05-Nov-2014 07:53:06 using cpu time.
subfunction in file /usr1/opt/matlab/7.13/toolbox/images/images/maketform.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 |
783 | qint = (x == floor(x)); | 6884 | 0.100 s | 32.3% |  |
784 | q = ~(~isreal(x) || ~all(qint(... | 6884 | 0.090 s | 29.0% |  |
782 | if isa(x,'double') | 6884 | 0.040 s | 12.9% |  |
All other lines | | | 0.080 s | 25.8% |  |
Totals | | | 0.310 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 11 |
Non-code lines (comments, blank lines) | 5 |
Code lines (lines that can run) | 6 |
Code lines that did run | 3 |
Code lines that did not run | 3 |
Coverage (did run/can run) | 50.00 % |
Function listing
time calls line
777 function q = isdoubleinteger( x )
778
779 % Return true iff x is a double array containing
780 % (real-valued and finite) integers.
781
0.04 6884 782 if isa(x,'double')
0.10 6884 783 qint = (x == floor(x));
0.09 6884 784 q = ~(~isreal(x) || ~all(qint(:)) || ~all(isfinite(x(:))));
785 else
786 q = ~1;
787 end
Other subfunctions in this file are not included in this listing.