Skip to content

Commit

Permalink
Update tensor_prod.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Spinachboul authored Jan 5, 2024
1 parent fa8164a commit 688fee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/tensor_prod.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Tensor product function
The tensor product function is defined as: ```\[ f(x) = ∏ᵢ=₁ᵈ cos(aπxᵢ) \]```
The tensor product function is defined as:
```\[ f(x) = ∏ᵢ=₁ᵈ cos(aπxᵢ) \]```

Let's import Surrogates and Plots:
```@example tensor
Expand Down Expand Up @@ -37,4 +38,3 @@ plot!(xs,f.(xs), label="True function", legend=:top)
plot!(xs, loba_1.(xs), label="Lobachevsky", legend=:top)
plot!(xs, krig.(xs), label="Kriging", legend=:top)
```

0 comments on commit 688fee1

Please sign in to comment.