Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
interpolate_impl< T, Point1, Point2, Point3, D, N > Struct Template Reference

helper struct for performing multi-dimensional linear interpolation More...

#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/detail/interpolation_impl.hpp>

Detailed Description

template<typename T, class Point1, class Point2, class Point3, size_t D, size_t N>
struct interpolate_impl< T, Point1, Point2, Point3, D, N >

helper struct for performing multi-dimensional linear interpolation

Template Parameters
Ttype of values to be interpolated
Point1type specifying geometric positions
Point2type specifying geometric positions
Point3type specifying geometric positions
Dcurrent dimension on which to perform reduction
Nnumber of hyper box corners
Note
  • Given U and V of value type T as well as two double a and b, then the following must be a valid expression a * U + b * V yielding an object which is (implicitly) convertible to T.
  • The Point types must represent d-dimensional positions and support coordinate access using operator[]. Coordinate indices must start at 0.
  • N is the number of hyper box corners which is $2^d$ where $d$ is the dimensionality of the hyper box. The dimensionality must be consistent with the provided Point types.

Definition at line 99 of file interpolation_impl.hpp.

View newest version in sPHENIX GitHub at line 99 of file interpolation_impl.hpp


The documentation for this struct was generated from the following file: