Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adtzlr committed Dec 7, 2022
1 parent 8903b43 commit 42e5c08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ hessian(lambda F: trace(F.T() @ F), parallel=False)(x)
# Extensions
Custom functions (extensions) are easy to implement in `tensortrax`. Beside the function expression, three additional (dual) variation expressions have to be defined.

> **Hint**: *Feel free to [contribute](https://github.com/adtzlr/tensortrax/fork) missing math-functions to `tensortrax`* :page_with_curl: :pencil2:.
```python
import numpy as np
from tensortrax import Tensor, f, δ, Δ, Δδ
Expand All @@ -175,4 +173,6 @@ def sin(A):

x = np.eye(3)
y = sin(Tensor(x))
```
```

> **Hint**: *Feel free to [contribute](https://github.com/adtzlr/tensortrax/fork) missing math-functions to [`tensortrax/math/_math_tensor.py`](https://github.com/adtzlr/tensortrax/blob/main/tensortrax/math/_math_tensor.py)* :page_with_curl: :pencil2:.

0 comments on commit 42e5c08

Please sign in to comment.