AME
ame_Circuit.hpp
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <concepts>
13
14
namespace
ame
15
{
23
template
<std::
float
ing_po
int
FloatType>
24
inline
FloatType
diode
(FloatType x)
25
{
26
return
static_cast<
FloatType
>
(0.2) * (std::exp (x *
static_cast<
FloatType
>
(0.05 / 0.0259)) -
static_cast<
FloatType
>
(1.0));
27
}
28
}
// namespace ame
ame::diode
FloatType diode(FloatType x)
diode modeling.
Definition:
ame_Circuit.hpp:24
include
ame_Circuit.hpp
Generated by
1.9.2