Skip to content

Commit

Permalink
Add missing C headers and sources
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Jun 6, 2015
1 parent baac1ae commit c8e04de
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions usersguide-sphinx/source/ExternalFunc1.c
@@ -0,0 +1,6 @@
double ExternalFunc1_ext(double x)
{
double res;
res = x+2.0*x*x;
return res;
}
1 change: 1 addition & 0 deletions usersguide-sphinx/source/ExternalFunc1.h
@@ -0,0 +1 @@
double ExternalFunc1_ext(double);
6 changes: 6 additions & 0 deletions usersguide-sphinx/source/ExternalFunc2.c
@@ -0,0 +1,6 @@
double ExternalFunc2(double x)
{
double res;
res = (x-1.0)*(x+2.0);
return res;
}

0 comments on commit c8e04de

Please sign in to comment.