local changes

This commit is contained in:
behinger (s-ccs 001) 2023-10-11 07:27:29 +00:00
parent 25bb4a6ee2
commit 5fc3caeb5b
4 changed files with 14 additions and 6 deletions

View File

@ -40,6 +40,6 @@ And that's it! You should have a nice progress bar now
1. Implement a type `StatResult` with fields for `x`, `n`, `std` and `tvalue` 1. Implement a type `StatResult` with fields for `x`, `n`, `std` and `tvalue`
2. Implement an outer constructor that can run `StatResult(2:10)` and return the full type including the calculated t-values. 2. Implement an outer constructor that can run `StatResult(2:10)` and return the full type including the calculated t-values.
3. Implement a function `length` for `StatResult` to multiple-dispatch on 3. Implement a function length for StatResult (using multiple-dispatch) which returns the `.n` field. Overload "Base.length"
4. **Optional:** If you have time, optimize the functions, so that mean, sum, length, std etc. is not calculated multiple times - you might want to rewrite your type. Note: This is a bit tricky :) 4. **Optional:** If you have time, optimize the functions, so that mean, sum, length, std etc. is not calculated multiple times - you might want to rewrite your type. Note: This is a bit tricky :)

View File

@ -1,3 +1,7 @@
---
---
::: callout ::: callout
[Link to Slides](slides.qmd) [Link to Slides](slides.qmd)
::: :::
@ -7,6 +11,7 @@
Solve [task 1](tasks.qmd#1) Solve [task 1](tasks.qmd#1)
---- ----
# Documenter.jl # Documenter.jl
### File-structure overview ### File-structure overview
@ -44,7 +49,9 @@ makedocs(
``` ```
### How to generate ### How to generate
`julia --project=docs/ docs/make.jl` or `]activate docs/; include("make.jl")` or use `LiveServer.jl` - `julia --project=docs/ docs/make.jl`, or
- `]activate docs/; include("make.jl")`, or
- `LiveServer.jl` + `deploydocs()`
### How to write ### How to write

View File

@ -17,11 +17,12 @@ docs/
### add some docs ### add some docs
2. with mydocs containing 2. with mydocs containing
````{verbatim}
```@docs ````@docs
func(x) func(x)
```
```` ````
(but with three `)
and and