Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
McMule
handyG
Commits
0b2e7fde
Commit
0b2e7fde
authored
May 22, 2019
by
Luca
Browse files
readme
parent
2acbc819
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
README.md
README.md
+9
-2
src/eval.f90
src/eval.f90
+3
-3
No files found.
README.md
View file @
0b2e7fde
# Evaluate G(...) function
#
# Evaluate G(...) function
Open
`src/eval.f90`
and modify the line
...
...
@@ -7,7 +7,7 @@ Open `src/eval.f90` and modify the line
This example computes G(1,2,5). Then write
```
$ make
```
```
$ make
eval
```
```
$ ./eval
```
...
...
@@ -15,3 +15,10 @@ and the result will be printed in standard output. To see what is going on incre
```
$ ./eval -verb 100
```
## Test
Before running it is advised to run the tests
```
$ make test
```
```
$ ./test
```
src/eval.f90
View file @
0b2e7fde
PROGRAM
eval
use
globals
use
gpl_module
...
...
@@ -7,8 +7,8 @@ PROGRAM eval
complex
(
kind
=
prec
)
::
res
call
parse_cmd_args
()
print
*
,
verb
res
=
GPL
(
cmplx
([
1
,
2
,
5
]))
res
=
GPL
(
cmplx
([
1
.0
,
-0.618034
,
0.1
]))
print
*
,
res
END
PROGRAM
eval
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment