Add meshgrid and unitTest.

This commit is contained in:
sunwen
2023-06-08 15:26:13 +08:00
parent 36d8866667
commit fe84729646
3 changed files with 75 additions and 0 deletions

18
src/common/meshgrid.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef MESHGRID_H
#define MESHGRID_H
#include "Matrix.h"
namespace Recon
{
struct MeshgridResult
{
Aurora::Matrix xx;
Aurora::Matrix yy;
Aurora::Matrix zz;
};
MeshgridResult meshgrid(const Aurora::Matrix& aX, const Aurora::Matrix& aY, const Aurora::Matrix& aZ);
}
#endif