This is a static copy of a profile report

Home

Function details for get_B>orbit2BThis is a static copy of a profile report

Home

get_B>orbit2B (Calls: 2, Time: 9.519 s)
Generated 20-Jul-2018 02:24:59 using performance time.
subfunction in file C:\Users\yz\Dropbox\Workspace\Researches\PhD Research\My Papers\2018_symmtry_reduction\18groupsymmetrySDPSlaterHaoRenata.d\codesgroupsymmetrySDPSlaterHaoRenata.d\qap\sub-routines\get_B.m
Copy to new window for comparing multiple runs

This function changed during profiling or before generation of this report. Results may be incomplete or inaccurate.

Parents (calling functions)

Function NameFunction TypeCalls
get_B>symmetrize_basissubfunction1
get_B>arrow_basissubfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
101
B = cell(nr_B,1);
75409.433 s99.1%
96
function B = orbit2B(orbit)
20.072 s0.8%
102
for i = 1:nr_B
75400.005 s0.1%
106
20.005 s0.1%
100
nr_B = length(idx);
75400.003 s0.0%
All other lines  0.001 s0.0%
Totals  9.519 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
uniquefunction20.071 s0.8%
Self time (built-ins, overhead, etc.)  9.448 s99.2%
Totals  9.519 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function14
Non-code lines (comments, blank lines)6
Code lines (lines that can run)8
Code lines that did run8
Code lines that did not run4
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
  0.072 
      2 
  96
function B = orbit2B(orbit) 
      2 
  97
 
< 0.001 
      2 
  98
% decompress orbit into basis 
< 0.001 
      2 
  99
idx = unique(orbit(:)); 
  0.003 
   7540 
 100
nr_B = length(idx); 
  9.433 
   7540 
 101
B = cell(nr_B,1); 
  0.005 
   7540 
 102
for i = 1:nr_B 
 103 
    k = idx(i);
 104 
    B{i} = (orbit == k);
 105 
end
  0.005 
      2 
 106
 
 107 

 108 

 109 
end