mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-07 16:28:06 +01:00
Makefile rule for simple_* objects
This commit is contained in:
1 parent
b873504b90
commit
433afd36f5
3 files changed
+22
-1
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#include <Grid/Grid.h>
|
||||
|
||||
Grid::vRealD add(const Grid::vRealD &x, const Grid::vRealD &y)
|
||||
{
|
||||
return x+y;
|
||||
}
|
||||
|
||||
Grid::vRealD sub(const Grid::vRealD &x, const Grid::vRealD &y)
|
||||
{
|
||||
return x-y;
|
||||
}
|
||||
Reference in new issue
Block a user