Krotos Modules 3
Loading...
Searching...
No Matches
krotos::ShapePreservingCubicInterpolator Class Reference

The function uses a shape-preserving cubic interpolation algorithm to estimate the y-value corresponding to the given x-coordinate. More...

#include <KrotosIntrepolators.h>

Static Public Member Functions

static std::vector< std::vector< float > > interpolate2D (const std::vector< float > &xValues, const std::vector< std::vector< float > > &yValues, const std::vector< float > &vals)
 
static Eigen::MatrixXf interpolate2DEigen (const Eigen::VectorXf &xValues, const Eigen::MatrixXf yValues, const Eigen::VectorXf &vals)
 
static float interpolate (const std::vector< float > &xPositions, const std::vector< float > &yPositions, float x)
 
static float interpolateEigen (const Eigen::VectorXf &xPositions, const Eigen::VectorXf &yPositions, float x)
 
static std::vector< float > interpolateVector (const std::vector< float > &xPositions, const std::vector< float > &yPositions, const std::vector< float > &xValues)
 
static Eigen::VectorXf interpolateVectorEigen (const Eigen::VectorXf &xPositions, const Eigen::VectorXf &yPositions, const Eigen::VectorXf &xValues)
 

Detailed Description

The function uses a shape-preserving cubic interpolation algorithm to estimate the y-value corresponding to the given x-coordinate.

Member Function Documentation

◆ interpolate()

float krotos::ShapePreservingCubicInterpolator::interpolate ( const std::vector< float > & xPositions,
const std::vector< float > & yPositions,
float x )
static

◆ interpolate2D()

std::vector< std::vector< float > > krotos::ShapePreservingCubicInterpolator::interpolate2D ( const std::vector< float > & xValues,
const std::vector< std::vector< float > > & yValues,
const std::vector< float > & vals )
static

◆ interpolate2DEigen()

Eigen::MatrixXf krotos::ShapePreservingCubicInterpolator::interpolate2DEigen ( const Eigen::VectorXf & xValues,
const Eigen::MatrixXf yValues,
const Eigen::VectorXf & vals )
static

◆ interpolateEigen()

float krotos::ShapePreservingCubicInterpolator::interpolateEigen ( const Eigen::VectorXf & xPositions,
const Eigen::VectorXf & yPositions,
float x )
static

◆ interpolateVector()

std::vector< float > krotos::ShapePreservingCubicInterpolator::interpolateVector ( const std::vector< float > & xPositions,
const std::vector< float > & yPositions,
const std::vector< float > & xValues )
static

◆ interpolateVectorEigen()

Eigen::VectorXf krotos::ShapePreservingCubicInterpolator::interpolateVectorEigen ( const Eigen::VectorXf & xPositions,
const Eigen::VectorXf & yPositions,
const Eigen::VectorXf & xValues )
static

The documentation for this class was generated from the following files: