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

Class of unary minus operator. More...

#include <func_sketch/math/unary_operators.h>

Collaboration diagram for func_sketch::math::UnaryMinusOperator:

Static Public Member Functions

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

Detailed Description

Class of unary minus operator.

Definition at line 54 of file unary_operators.h.

Member Function Documentation

◆ name()

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

Get the name of the operator.

Returns
Name of the operator.

Definition at line 61 of file unary_operators.h.

◆ operator()()

void func_sketch::math::UnaryMinusOperator::operator() ( const Number & arg,
Number & result )
inlinestatic

Operate on a scalar.

Parameters
[in]argArgument.
[out]resultResult.

Definition at line 69 of file unary_operators.h.


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