Difference between revisions of "Template:Algorithm"
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
GrishinaAnna (talk | contribs) (Blanked the page) |
GrishinaAnna (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | <includeonly> | ||
+ | {{level-a}} | ||
+ | {{infobox | ||
+ | | style-options=max-width: 40% | ||
+ | | title={{{name|}}} | ||
+ | | title-1={{#if: {{{serial_complexity|}}}{{{input_data|}}}{{{output_data|}}} | Последовательный алгоритм}} | ||
+ | | label-1.1=Последовательная сложность | ||
+ | | data-1.1={{{serial_complexity|}}} | ||
+ | | label-1.2=Объём входных данных | ||
+ | | data-1.2={{{input_data|}}} | ||
+ | | label-1.3=Объём выходных данных | ||
+ | | data-1.3={{{output_data|}}} | ||
+ | | title-2={{#if: {{{parallel_complexity|}}}{{{pf_height|}}}{{{pf_width|}}} | Параллельный алгоритм}} | ||
+ | | label-2.1=Параллельная сложность | ||
+ | | data-2.1={{{parallel_complexity|}}} | ||
+ | | label-2.2=Высота ярусно-параллельной формы | ||
+ | | data-2.2={{{pf_height|}}} | ||
+ | | label-2.3=Ширина ярусно-параллельной формы | ||
+ | | data-2.3={{{pf_width|}}} | ||
+ | }}</includeonly><noinclude> | ||
+ | <source lang=html4strict> | ||
+ | {{algorithm | ||
+ | | name = Разложение Холецкого | ||
+ | | serial_complexity = <math>O(n^3)</math> | ||
+ | | pf_height = <math>O(n)</math> | ||
+ | | pf_width = <math>O(n^2)</math> | ||
+ | | input_data = <math>\frac{n (n + 1)}{2}</math> | ||
+ | | output_data = <math>\frac{n (n + 1)}{2}</math> | ||
+ | }} | ||
+ | </source> | ||
+ | [[en:Template:Algorithm]] | ||
+ | </noinclude> |
Revision as of 11:25, 15 October 2016
{{algorithm
| name = Разложение Холецкого
| serial_complexity = <math>O(n^3)</math>
| pf_height = <math>O(n)</math>
| pf_width = <math>O(n^2)</math>
| input_data = <math>\frac{n (n + 1)}{2}</math>
| output_data = <math>\frac{n (n + 1)}{2}</math>
}}