teqp
0.22.0
Loading...
Searching...
No Matches
include
teqp
math
pow_templates.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
teqp/types.hpp
"
3
4
namespace
teqp
{
5
template
<
typename
A>
auto
POW2
(
const
A& x) {
return
forceeval
(x*x); }
6
template
<
typename
A>
auto
POW3
(
const
A& x) {
return
forceeval
(
POW2
(x)*x); }
7
template
<
typename
A>
auto
POW4
(
const
A& x) {
return
forceeval
(
POW2
(x)*
POW2
(x)); }
8
template
<
typename
A>
auto
POW5
(
const
A& x) {
return
forceeval
(
POW2
(x)*
POW3
(x)); }
9
template
<
typename
A>
auto
POW7
(
const
A& x) {
return
forceeval
(
POW2
(x)*
POW5
(x)); }
10
template
<
typename
A>
auto
POW8
(
const
A& x) {
return
forceeval
(
POW4
(x)*
POW4
(x)); }
11
template
<
typename
A>
auto
POW10
(
const
A& x) {
return
forceeval
(
POW2
(x)*
POW8
(x)); }
12
template
<
typename
A>
auto
POW12
(
const
A& x) {
return
forceeval
(
POW4
(x)*
POW8
(x)); }
13
}
teqp
Definition
ancillary_builder.hpp:8
teqp::POW2
auto POW2(const A &x)
Definition
pow_templates.hpp:5
teqp::POW7
auto POW7(const A &x)
Definition
pow_templates.hpp:9
teqp::POW10
auto POW10(const A &x)
Definition
pow_templates.hpp:11
teqp::POW5
auto POW5(const A &x)
Definition
pow_templates.hpp:8
teqp::POW8
auto POW8(const A &x)
Definition
pow_templates.hpp:10
teqp::POW3
auto POW3(const A &x)
Definition
pow_templates.hpp:6
teqp::POW12
auto POW12(const A &x)
Definition
pow_templates.hpp:12
teqp::forceeval
auto forceeval(T &&expr)
Definition
types.hpp:52
teqp::POW4
auto POW4(const A &x)
Definition
pow_templates.hpp:7
types.hpp
Generated by
1.11.0