Skip to content

smrfeld/L2-Project-Path-to-Grid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

L2 Project Path to Grid

L2 project a path to a regular grid in arbitrary dimension, using cubic splines in the grid.

Dependencies

Armadillo.

Install

Use the makefile: make and make install.

Compilation

Link against the library like this: g++ -std=c++14 -lL2ProjPathToGrid test.cpp -o test.o.

Include using include <L2ProjPathToGrid>. Namespace is L2PG.

Background

See doc folder.

Example

See examples/test directory.

Generate a path of data:

Path

After running project(), the grid obtained is:

Grid

Interpolating in this grid at a higher resolution (see Mathematica notebook analyze):

GridResampled

Along the path, the result is identical to the original path:

PathInterp

About

L2 Project a Path to a Grid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published