Loading...
Searching...
No Matches
lerpOp< T > Struct Template Reference

Linear interpolation (cf. std::lerp). More...

#include <ops.H>

Public Member Functions

T operator() (const T &a, const T &b, const scalar t) const

Detailed Description

template<class T>
struct Foam::lerpOp< T >

Linear interpolation (cf. std::lerp).

Definition at line 271 of file ops.H.

Member Function Documentation

◆ operator()()

template<class T>
T operator() ( const T & a,
const T & b,
const scalar t ) const
inlinenodiscard

Definition at line 273 of file ops.H.

References b, Foam::lerp(), and Foam::T().

Here is the call graph for this function:

The documentation for this struct was generated from the following file:
  • src/OpenFOAM/primitives/ops/ops.H