58 reputation
5
bio website
location
age
visits member for 1 year, 11 months
seen Mar 27 at 15:44

Oct
10
awarded  Nice Question
Oct
4
comment FP for simulation and modelling
I'll definitely give it a try then. Lisp's homoiconicity is interesting after all.
Oct
4
awarded  Scholar
Oct
4
accepted FP for simulation and modelling
Oct
3
comment FP for simulation and modelling
@paul: Thank you for clarifying Haskell libraries and for the link to the intro of Hmatrix. I looked at Hmatrix, it looks really interesting and it does have nice syntax. It is probably my missing link in the FP way of doing things.
Oct
3
comment FP for simulation and modelling
I have taken a look at Clojure but I can't say I'm fond of S-expressions. I know it is practical (Lisp code is data) but is it easy to get used to?
Oct
2
comment FP for simulation and modelling
@paul: Thanks, I'll definitely take a look at it! Are Haskell libraries generally consistent and rich in content? The wikis say so but is this a fact?
Oct
2
comment FP for simulation and modelling
Thank you for your answer! So, if I where to use C++, would encapsulating only the data (that is parameters,boundary conditions and the PDE in matrix form) of the component to an object and defining the functions (even some higher-order ones, in the case a parameter is a function of something else), outside of the object's scope, that would operate on the object's data, be efficient?
Oct
2
comment FP for simulation and modelling
It's good to know that I'm not the only one doubting about OOP in simulation and thanks for answering my question! I had read John Carmack's comments on FP and I thought about implementing some FP aspects on C++ (copying the objects, or gather the input and pass it to a function) but then again I don't know if I should start my project with C++ instead of a FP language, like Haskell,as FP aspects are built-in and you express mutability only when it's needed. Did you continue using Clojure or FP in general, considering that you had a similar problem/question?
Oct
2
awarded  Supporter
Oct
2
revised FP for simulation and modelling
deleted 20 characters in body
Oct
2
awarded  Editor
Oct
2
revised FP for simulation and modelling
deleted 20 characters in body
Oct
2
awarded  Student
Oct
2
asked FP for simulation and modelling