#include <eve/module/math.hpp>
#include <iostream>
#include <iomanip>
int main()
{
std::cout << std::setprecision(5) << '\n';
std::cout << "<- p = " << p << '\n';
std::cout << "<- x = " << x << '\n';
std::cout << "<- y = " << y << '\n';
std::cout << "<- z = " << z << '\n';
std::cout <<
"-> lpnorm(p, x, y, z) = " <<
eve::lpnorm(p, x, y, z) <<
'\n';
std::cout <<
"-> lpnorm[pedantic](p, x, y, z) = " <<
eve::lpnorm[eve::pedantic](p, x, y, z) <<
'\n';
}
constexpr auto nan
Computes the IEEE quiet NaN constant.
Definition nan.hpp:67
constexpr auto inf
Computes the infinity ieee value.
Definition inf.hpp:66
Lightweight type-wrapper.
Definition as.hpp:29
Wrapper for SIMD registers.
Definition wide.hpp:86