Skip to content

Commit

Permalink
Try to install class on Github
Browse files Browse the repository at this point in the history
  • Loading branch information
hersle committed Oct 9, 2024
1 parent f5e6193 commit 1fdda70
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion docs/src/comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,27 @@ TODO
| **Modularity** | Every component is fully modular | Class-based for simple models | Requires raw code modification in many places |
| **Approximations** | None | Mandatory (?) | Mandatory (?) |
| **Speed** | Fast | Faster | Fastest |
| **Sensitivity analysis** | Automatic differentiation | Finite differences | Finite differences |
| **Sensitivity analysis** | Automatic differentiation | Finite differences | Finite differences |

## Accuracy comparison with CLASS

```@example class
run(`make --version`)
```

```@example class
run(`cc --version`)
```

```@example class
run(`git clone --depth 1 https://github.com/lesgourg/class_public`)
run(`make --directory class_public class`)
```

```@example class
isdir(`class_public`)
```

```@example class
isfile(`class_public/class`)
```

0 comments on commit 1fdda70

Please sign in to comment.