FuncSketch
Loading...
Searching...
No Matches
func_sketch::math::PowerOperator Class Reference

Class of power operator. More...

#include <func_sketch/math/binary_operators.h>

Collaboration diagram for func_sketch::math::PowerOperator:

Static Public Member Functions

static std::string_view name () noexcept
 Get the name of the operator.
static void operator() (const Number &left, const Number &right, Number &result)
 Operate on a pair of scalars.

Detailed Description

Class of power operator.

Definition at line 161 of file binary_operators.h.

Member Function Documentation

◆ name()

std::string_view func_sketch::math::PowerOperator::name ( )
inlinestaticnodiscardnoexcept

Get the name of the operator.

Returns
Name of the operator.

Definition at line 168 of file binary_operators.h.

◆ operator()()

void func_sketch::math::PowerOperator::operator() ( const Number & left,
const Number & right,
Number & result )
inlinestatic

Operate on a pair of scalars.

Parameters
[in]leftLeft scalar.
[in]rightRight scalar.
[out]resultResult scalar.

Definition at line 177 of file binary_operators.h.


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