Skip to content

Commit

Permalink
break to simplify complex utils; alpha release
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Jun 30, 2020
1 parent 310d292 commit c35937e
Show file tree
Hide file tree
Showing 6 changed files with 187 additions and 225 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,17 @@ To interact with text input:
(fn [result] (println "got:" result)))
```

### Complex number

`phlox.complex` contains several util functions to work with complex numbers like `[x y]`.

- `add`, adds two complex numbers
- `minus`, adds one to another
- `times`, mutiply two complex numbers
- `rebase`, actualy "divide", renamed since naming collision.
- `divide-by`, divide by scalar number `x`.
- `rand-point`, returns a random `[x y]`, takes 1 or 2 arguments

### Workflow

Workflow https://github.com/Quamolit/phlox-workflow
Expand Down
Loading

0 comments on commit c35937e

Please sign in to comment.