FluidNumerics / FluidNumerics/feq-parse

Mix input types, e.g. scalars with arrays

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Fortran
Stars
51
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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 )
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.