template <typename xType, typename yType>
class LinearLookupTable
Defined at line 25 of file ../../src/devices/lib/thermal/include/lib/thermal/linear_lookup_table.h
Both x and y axis must be monotonicly decreasing/increasing.
Public Methods
void LinearLookupTable<xType, yType> (std::vector<LookupTableEntryType> table)
Defined at line 30 of file ../../src/devices/lib/thermal/include/lib/thermal/linear_lookup_table.h
void LinearLookupTable<xType, yType> (std::vector<xType> x_list, std::vector<yType> y_list)
Defined at line 40 of file ../../src/devices/lib/thermal/include/lib/thermal/linear_lookup_table.h
zx::result<float> LookupY (float x)
Always returns float because it may be linearly interpolated. x-axis is always decreasing.
Defined at line 50 of file ../../src/devices/lib/thermal/include/lib/thermal/linear_lookup_table.h
zx::result<float> LookupX (float y)
Always returns float because it may be linearly interpolated.
Defined at line 53 of file ../../src/devices/lib/thermal/include/lib/thermal/linear_lookup_table.h