Difference between revisions of "Template:Algorithm"
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
GrishinaAnna (talk | contribs) |
GrishinaAnna (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
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 | {{algorithm | ||
− | | name = | + | | name = Разложение Холецкого |
| serial_complexity = <math>O(n^3)</math> | | serial_complexity = <math>O(n^3)</math> | ||
− | | pf_height = <math></math> | + | | pf_height = <math>O(n)</math> |
− | | pf_width = <math></math> | + | | pf_width = <math>O(n^2)</math> |
− | | input_data = <math>n | + | | input_data = <math>\frac{n (n + 1)}{2}</math> |
− | | output_data = <math> | + | | output_data = <math>\frac{n (n + 1)}{2}</math> |
}} | }} | ||
+ | </source> | ||
+ | |||
+ | [[en:Template:Algorithm]] | ||
+ | </noinclude> |
Latest revision as of 11:57, 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>
}}