Skip to content

Commit

Permalink
capitalization of headers; reorder docs
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed Oct 15, 2023
1 parent dde0150 commit 642a7c4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 35 deletions.
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ makedocs(; sitename="MathematicalSystems.jl",
assets=["assets/aligned.css"], size_threshold_warn=150 * 2^10),
pagesonly=true,
pages=["Home" => "index.md",
"Manual" => Any["System types overview" => "man/systems.md"],
"Manual" => Any["Overview of System Types" => "man/systems.md"],
"Library" => Any["Types" => "lib/types.md",
"Methods" => "lib/methods.md",
"Internals" => "lib/internals.md"],
Expand Down
8 changes: 4 additions & 4 deletions docs/src/lib/internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DocTestSetup = quote
end
```

## Expression handling
## Expression Handling

```@docs
_corresponding_type
Expand All @@ -24,20 +24,20 @@ add_asterisk
sort
```

## Querying expressions
## Querying Expressions

```@docs
is_equation
extract_sum
```

## Evaluation of AbstractSystem at given state
## Evaluation of AbstractSystem at Given State

```@docs
_instantiate
```

## Naming convention for systems' fields
## Naming Convention for Systems' Fields

Systems' fields should be accessed externally by their respective getter functions.
Internally to the library, the following naming conventions are used.
Expand Down
43 changes: 16 additions & 27 deletions docs/src/lib/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,34 +104,22 @@ ExactDiscretization
EulerDiscretization
```

## System macro

```@docs
@system
```

## Initial-value problem macro
## Initial Value Problems

```@docs
@ivp
InitialValueProblem
IVP
initial_state
system
```

## Identity operator
## Identity Operator

```@docs
IdentityMultiple
Id
```

## Initial Value Problems

```@docs
InitialValueProblem
IVP
initial_state
system
```

## Input Types

```@docs
Expand Down Expand Up @@ -162,22 +150,23 @@ BlackBoxControlMap
ConstrainedBlackBoxControlMap
```

### Macros

```@docs
@map
```

## Systems with output
## Systems with Output

```@docs
SystemWithOutput
LinearTimeInvariantSystem
LTISystem
```


## Vector Field
## Vector Fields
```@docs
VectorField
```

## Macros

```@docs
@system
@ivp
@map
```
6 changes: 3 additions & 3 deletions docs/src/man/systems.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# System types overview
# Overview of System Types

## Using the macro
## Using the `@system` Macro

A convenient way to create a new system is with the `@system` macro. For example,
the ODE $x'(t) = -2x(t)$ is simply `x' = -2x`, where $x'(t) := dx/dt$ is the derivative
Expand Down Expand Up @@ -56,7 +56,7 @@ for (controlled) inputs and noise respectively. Please note that some systems ar
equivalent, for example `CLCCS` and `NCLCS` being $x' = Ax + Bu$ and $x' = Ax + Dw$ respectively;
the difference lies in the resulting value of getter functions such as `inputset` and `noiseset`.

## Summary tables
## Summary Tables

The following table summarizes the different system types in abbreviated form.
The abbreviated names are included here only for reference and are not exported.
Expand Down

0 comments on commit 642a7c4

Please sign in to comment.