Mercurial > repos > public > sbplib_julia
comparison grid.jl @ 39:5ec57ec148ef
Merge latest changes
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 10 Jan 2019 14:57:18 +0100 |
parents | 2dce28c59429 e86c65958aa1 |
children | 3d8bfb695497 |
comparison
equal
deleted
inserted
replaced
38:2dce28c59429 | 39:5ec57ec148ef |
---|---|
131 else | 131 else |
132 error(string("Plot not implemented for dimension =", string(dim))) | 132 error(string("Plot not implemented for dimension =", string(dim))) |
133 end | 133 end |
134 end | 134 end |
135 | 135 |
136 # Evaluate function f on the grid g | |
137 function evalOn(g::Grid, f::Function) | |
138 F(x) = f(x...) | |
139 return F.(points(g)) | |
136 end | 140 end |
141 | |
142 end |