#include <scales.h>
|
| PowScale () |
|
| PowScale (bool derived) |
|
PowScale & | Exponent (double ex) |
|
template<typename T , size_t SIZE> |
LinearScale & | SetRangeRound (emp::array< T, SIZE > values) |
|
LinearScale & | SetRangeRound (double min, double max) |
|
LinearScale & | SetInterpolate (std::string factory) |
|
LinearScale & | Clamp (bool clamp) |
|
LinearScale & | Nice (int count=-1) |
|
template<typename T > |
double | Invert (T y) |
|
IdentityScale & | SetTicks (int count) |
|
IdentityScale & | SetTickFormat (int count, std::string format) |
|
template<typename T , size_t SIZE> |
Scale & | SetRange (emp::array< T, SIZE > values) |
|
Scale & | SetRange (double min, double max) |
|
template<typename T , size_t SIZE> |
Scale & | SetDomain (emp::array< T, SIZE > values) |
|
Scale & | SetDomain (double min, double max) |
|
Scale | Copy () |
| Make a copy of this scale. More...
|
|
double | ApplyScale (double input) |
| Calculate the ouput for [input], based on the scale's scaling function. More...
|
|
int | ApplyScale (int input) |
|
int | GetID () const |
|
void | Log () const |
|
D3::PowScale::PowScale |
( |
| ) |
|
|
inline |
D3::PowScale::PowScale |
( |
bool |
derived | ) |
|
|
inline |
double D3::Scale::ApplyScale |
( |
double |
input | ) |
|
|
inlineinherited |
Calculate the ouput for [input], based on the scale's scaling function.
int D3::Scale::ApplyScale |
( |
int |
input | ) |
|
|
inlineinherited |
Scale D3::Scale::Copy |
( |
| ) |
|
|
inlineinherited |
Make a copy of this scale.
PowScale& D3::PowScale::Exponent |
( |
double |
ex | ) |
|
|
inline |
int D3::D3_Base::GetID |
( |
| ) |
const |
|
inlineinherited |
template<typename T >
double D3::IdentityScale::Invert |
( |
T |
y | ) |
|
|
inlineinherited |
void D3::D3_Base::Log |
( |
| ) |
const |
|
inlineinherited |
template<typename T , size_t SIZE>
Set the input values corresponding to values in the range. Array should contain same number of elements as the one used to set the range.
Scale& D3::Scale::SetDomain |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
|
inlineinherited |
LinearScale& D3::LinearScale::SetInterpolate |
( |
std::string |
factory | ) |
|
|
inlineinherited |
template<typename T , size_t SIZE>
Set the output values corresponding to values in the domain. Output for values in between will be interpolated with a function determined by the type of the scale. Array should contain same number of elements as the one used to set the domain.
Scale& D3::Scale::SetRange |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
|
inlineinherited |
template<typename T , size_t SIZE>
LinearScale& D3::LinearScale::SetRangeRound |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
|
inlineinherited |
IdentityScale& D3::IdentityScale::SetTickFormat |
( |
int |
count, |
|
|
std::string |
format |
|
) |
| |
|
inlineinherited |
The documentation for this class was generated from the following file: