Finished Introduction
This commit is contained in:
parent
dbce6aa469
commit
404db9cd73
7 changed files with 108 additions and 28 deletions
14
pseudocode/offsets.typ
Normal file
14
pseudocode/offsets.typ
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#import "@preview/lovelace:0.3.0": *
|
||||
|
||||
|
||||
#pseudocode-list(booktabs: true, numbered-title: [Find all offsets])[
|
||||
+ *list* offsets
|
||||
+ *if* $s$ is odd
|
||||
+ $s = s-1$
|
||||
+ *append* 0 *to list* offsets
|
||||
+ *while* $i <= s/2$
|
||||
+ *append* $+(i dot phi)$ *to list* offsets
|
||||
+ *append* $- (i dot phi)$ *to list* offsets
|
||||
+ *sort list* offsets in ascending order
|
||||
+ *end*
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue