Skip to content

Commit 7e81b8d

Browse files
committed
Latex updates
1 parent ab63ffc commit 7e81b8d

File tree

2 files changed

+24
-19
lines changed

2 files changed

+24
-19
lines changed

docs/Functions & Validation Rules/Processor Functions.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,18 @@ layout: default
55
parent: Functions & Validation Rules
66
---
77

8-
# Processor Functions
8+
Here’s the revised version with consistent LaTeX formatting:
99

10-
## Is Primitive
10+
# Processor Functions
1111

12-
- isPrimitive: Process $\rightarrow$ Bool
12+
## Is Primitive
1313

14-
## Get System
14+
- $$\text{isPrimitive}: \text{Processor} \rightarrow \text{Bool}$$
1515

16-
- getSystem: processor $\rightarrow$ System
16+
## Get System
1717

18-
## Get Shape
18+
- $$\text{getSystem}: \text{Processor} \rightarrow \text{System}$$
1919

20-
- getShape: processor $\rightarrow$ Block
20+
## Get Shape
21+
22+
- $$\text{getShape}: \text{Processor} \rightarrow \text{Block}$$

docs/Functions & Validation Rules/System Functions.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,48 +9,51 @@ parent: Functions & Validation Rules
99

1010
## Is Valid
1111

12-
- isValid: system $\rightarrow$ Bool
12+
- $$\text{isValid}: \text{system} \rightarrow \text{Bool}$$
1313

1414
## Is Directed
1515

16-
- isDirected: system $\rightarrow$ Bool
16+
- $$\text{isDirected}: \text{system} \rightarrow \text{Bool}$$
1717

1818
## Is Connected
1919

20-
- isConnected: system $\rightarrow$ Bool
20+
- $$\text{isConnected}: \text{system} \rightarrow \text{Bool}$$
2121

2222
## Is Dynamical
2323

24-
- isDynamical: system $\rightarrow$ Bool
24+
- $$\text{isDynamical}: \text{system} \rightarrow \text{Bool}$$
2525

2626
## Get Open Ports
2727

28-
- getOpenPorts: system $\rightarrow$ List[Terminal] = List[\{Processor, Index, Type\}]
28+
- $$\text{getOpenPorts}: \text{system} \rightarrow \text{List[Terminal]} = \text{List}[\{\text{Processor, Index, Type}\}]$$
2929

3030
## Get Available Terminals
3131

32-
- getAvailableTerminals: system $\rightarrow$ List[Terminal] = List[\{Processor, Index, Type\}]
32+
- $$\text{getAvailableTerminals}: \text{system} \rightarrow \text{List[Terminal]} = \text{List}[\{\text{Processor, Index, Type}\}]$$
3333

3434
## Get Connected Components
3535

36-
- getConnectedComponents: $$\text{system} \rightarrow \text{List[System]}$$
36+
- $$\text{getConnectedComponents}: \text{system} \rightarrow \text{List[System]}$$
3737

3838
## Get Subsystems
3939

40-
- getSubsystems: system $\rightarrow$ List[Processor] (subset of the processor list which isSubsystem)
40+
- $$\text{getSubsystems}: \text{system} \rightarrow \text{List[Processor]}$$
41+
(subset of the processor list which isSubsystem)
4142

4243
## Get Hierarchy
4344

44-
- getHierarchy: system $\rightarrow$ NestedDict (primitive processors are leaves in this tree)
45+
- $$\text{getHierarchy}: \text{system} \rightarrow \text{NestedDict}$$
46+
(primitive processors are leaves in this tree)
4547

4648
## Get Spaces
4749

48-
- getSpaces: system $\rightarrow$ List[Space]
50+
- $$\text{getSpaces}: \text{system} \rightarrow \text{List[Space]}$$
4951

5052
## Make Processor
5153

52-
- makeProcessor:system x block x List[wires] $\rightarrow$ Processor
54+
- $$\text{makeProcessor}: \text{system} \times \text{block} \times \text{List[wires]} \rightarrow \text{Processor}$$
5355

5456
## Lazy Make Processor
5557

56-
- Imp: system $\rightarrow$ Processor (aka "lazy make processor)
58+
- $$\text{Imp}: \text{system} \rightarrow \text{Processor}$$
59+
(aka "lazy make processor")

0 commit comments

Comments
 (0)