Skip to content

smrfeld/L2-Project-Path-to-Grid

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
 
 
src
 
 
 
 
 
 

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