This is a static copy of a profile reportHome
unmkpp (25 calls, 0.000 sec)
Generated 05-Aug-2011 13:00:54 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/polyfun/unmkpp.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
ppval | function | 25 |
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
28 | end | 25 | 0 s | 0% |  |
24 | k = pp.order; | 25 | 0 s | 0% |  |
23 | d = pp.dim; l = pp.pieces; bre... | 25 | 0 s | 0% |  |
22 | if strcmp(pp.form,'pp') | 25 | 0 s | 0% |  |
21 | else | 25 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 28 |
Non-code lines (comments, blank lines) | 13 |
Code lines (lines that can run) | 15 |
Code lines that did run | 6 |
Code lines that did not run | 9 |
Coverage (did run/can run) | 40.00 % |
Function listing
time calls line
1 function [breaks,coefs,l,k,d]=unmkpp(pp)
2 %UNMKPP Supply details about piecewise polynomial.
3 % [BREAKS,COEFS,L,K,D] = UNMKPP(PP) extracts from the piecewise polynomial
4 % PP its breaks, coefficients, number of pieces, order and dimension of its
5 % target. PP would have been created by SPLINE or the spline utility MKPP.
6 %
7 % See also MKPP, SPLINE, PPVAL.
8
9 % Carl de Boor 7-2-86
10 % Copyright 1984-2004 The MathWorks, Inc.
11 % $Revision: 5.13.4.4 $ $Date: 2010/08/23 23:12:08 $
12
25 13 if ~isstruct(pp) % for backward compatibility, permit the former way
14 % of encoding the ppform
15 if pp(1)==10
16 d = pp(2); l=pp(3); breaks=reshape(pp(3+(1:l+1)),1,l+1);
17 k=pp(5+l); coefs=reshape(pp(5+l+(1:d*l*k)),d*l,k);
18 else
19 error(message('MATLAB:unmkpp:InputArrayNotPP'))
20 end
25 21 else
25 22 if strcmp(pp.form,'pp')
25 23 d = pp.dim; l = pp.pieces; breaks = pp.breaks; coefs = pp.coefs;
25 24 k = pp.order;
25 else
26 error(message('MATLAB:unmkpp:InputStructNotPP'))
27 end
25 28 end
Other subfunctions in this file are not included in this listing.