VisionCpp  0.0.1
Public Member Functions | List of all members
visioncpp::OP_PowerOf2 Struct Reference

This functor implements the power of 2 of one matrix. More...

#include <OP_PowerOf2.hpp>

Collaboration diagram for visioncpp::OP_PowerOf2:

Public Member Functions

template<typename T >
auto operator() (T t) -> decltype(t *t)
 It calculates the power of 2 ( t^2 ) More...
 

Detailed Description

This functor implements the power of 2 of one matrix.

Definition at line 26 of file OP_PowerOf2.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
auto visioncpp::OP_PowerOf2::operator() ( t) -> decltype(t* t)
inline

It calculates the power of 2 ( t^2 )

Parameters
t- Float matrix
Returns
float - Return the power of 2 ( t^2 )

Definition at line 31 of file OP_PowerOf2.hpp.


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