Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mix input types, e.g. scalars with arrays #11

Open
fluidnumerics-joe opened this issue Nov 30, 2023 · 0 comments
Open

Mix input types, e.g. scalars with arrays #11

fluidnumerics-joe opened this issue Nov 30, 2023 · 0 comments

Comments

@fluidnumerics-joe
Copy link
Member

Following discussion on fortran-lang (https://fortran-lang.discourse.group/t/feq-parse-updates-evaluation-with-arrays-now-supported/6871/9)

Nice to see the developments for this package. I have not had an opportunity yet to use it in earnest, but I do have an application in mind. One thing, though, not criticism, just a remark: if you use it to evaluate an array, then all variables should be arrays, right? No possibilty to combine a scalar with an array? Something along these lines:

real :: a(100)
real :: b

...
expression = 'exp( -b * a)'
...
write(*,*) f%evaluate( x )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant