This is a static copy of a profile reportHome
Function details for get_B>symmetrize_basisThis is a static copy of a profile reportHome
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 Name | Function Type | Calls |
get_B | function | 1 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
46 | | 1 | 16.765 s | 82.0% | |
50 | | 1 | 3.660 s | 17.9% | |
48 | | 1 | 0.009 s | 0.0% | |
58 | % sumB_i = J and B_i = B_j', s... | 1 | 0.001 s | 0.0% | |
All other lines | | | 0.000 s | 0.0% | |
Totals | | | 20.435 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
get_B>B2orbit | subfunction | 1 | 16.765 s | 82.0% | |
get_B>orbit2B | subfunction | 1 | 3.654 s | 17.9% | |
Self time (built-ins, overhead, etc.) | | | 0.016 s | 0.1% | |
Totals | | | 20.435 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 15 |
Non-code lines (comments, blank lines) | 11 |
Code lines (lines that can run) | 4 |
Code lines that did run | 4 |
Code lines that did not run | 4 |
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.