MCPcopy Create free account
hub / github.com/boostorg/histogram / sqrt

Class sqrt

include/boost/histogram/axis/types.hpp:64–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62};
63
64struct sqrt : public detail::stateless {
65 template <typename T>
66 static T forward(T v) {
67 return std::sqrt(v);
68 }
69 template <typename T>
70 static T inverse(T v) {
71 return v * v;
72 }
73};
74
75// struct cos : public detail::stateless {
76// template <typename T> static T forward(T v) { return std::cos(v); }

Callers 2

forwardMethod · 0.70
mainFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected