Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2/**
3 * Jingga
4 *
5 * PHP Version 8.1
6 *
7 * @package   phpOMS\Math\Numerics\Interpolation
8 * @copyright Dennis Eichhorn
9 * @license   OMS License 2.0
10 * @version   1.0.0
11 * @link      https://jingga.app
12 */
13declare(strict_types=1);
14
15namespace phpOMS\Math\Numerics\Interpolation;
16
17/**
18 * Interpolation interface.
19 *
20 * @package phpOMS\Math\Numerics\Interpolation
21 * @license OMS License 2.0
22 * @link    https://jingga.app
23 * @since   1.0.0
24 */
25interface InterpolationInterface
26{
27    /**
28     * Interpolation at a given point
29     *
30     * @param int|float $x X-Coordinate to interpolate at
31     *
32     * @return float
33     *
34     * @since 1.0.0
35     */
36    public function interpolate(int | float $x) : float;
37}