1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-14 05:07:05 +01:00

Makefile rule for simple_* objects

This commit is contained in:
2016-11-19 01:33:13 +01:00
parent b873504b90
commit 433afd36f5
3 changed files with 22 additions and 1 deletions

View File

@ -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;
}