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

Class of unary plus operator. More...

#include <func_sketch/math/unary_operators.h>

Collaboration diagram for func_sketch::math::UnaryPlusOperator:

Static Public Member Functions

static std::string_view name () noexcept
 Get the name of the operator.
static void operator() (const Number &arg, Number &result) noexcept
 Operate on a scalar.

Detailed Description

Class of unary plus operator.

Definition at line 31 of file unary_operators.h.

Member Function Documentation

◆ name()

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

Get the name of the operator.

Returns
Name of the operator.

Definition at line 38 of file unary_operators.h.

◆ operator()()

void func_sketch::math::UnaryPlusOperator::operator() ( const Number & arg,
Number & result )
inlinestaticnoexcept

Operate on a scalar.

Parameters
[in]argArgument.
[out]resultResult.

Definition at line 46 of file unary_operators.h.


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