This is a static copy of a profile report

Home

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

Home

get_B>symmetrize_basis (Calls: 1, Time: 20.435 s)
Generated 20-Jul-2018 02:24:58 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_Bfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
46
116.765 s82.0%
50
13.660 s17.9%
48
10.009 s0.0%
58
% sumB_i = J and B_i = B_j', s...
10.001 s0.0%
All other lines  0.000 s0.0%
Totals  20.435 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
get_B>B2orbitsubfunction116.765 s82.0%
get_B>orbit2Bsubfunction13.654 s17.9%
Self time (built-ins, overhead, etc.)  0.016 s0.1%
Totals  20.435 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function15
Non-code lines (comments, blank lines)11
Code lines (lines that can run)4
Code lines that did run4
Code lines that did not run4
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
  47 
function B = symmetrize_basis(B)
  0.009 
      1 
  48
 
  49 
orbit = B2orbit(B);
  3.660 
      1 
  50
 
  51 
orbit = triu(orbit) + triu(orbit,1)';
  52 

  53 
B = orbit2B(orbit);
  54 

  55 
% Remarks:
  56 
% symmetrization can be accomplished by orbit = triu(orbit) + triu(orbit,1)';
  57 
% proof: as the basis is an noncommutative association scheme, we have
< 0.001 
      1 
  58
% sumB_i = J and B_i = B_j', so each B_i is either symmetric or upper/lower 
  59 
% triangular.
  60 

  61 
end

Other subfunctions in this file are not included in this listing.