Add LinearAlgebra to make example with norm work

This commit is contained in:
Nils 2020-03-25 18:38:20 +00:00 committed by GitHub
parent b258c9d8c8
commit ca3baf3881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,6 +271,7 @@ Draw a 3D surface plot.
# Example # Example
```julia-repl ```julia-repl
julia> using LinearAlgebra
julia> x = y = range(-3, 3, length = 100) julia> x = y = range(-3, 3, length = 100)
julia> surface(x, y, (x, y) -> sinc(norm([x, y]))) julia> surface(x, y, (x, y) -> sinc(norm([x, y])))
``` ```