|
template<typename FloatType > |
bool | IsPositiveOrNegativeInfinity (FloatType x) |
|
template<typename FloatType > |
bool | AreWithinAbsoluteOrRelativeTolerances (FloatType x, FloatType y, FloatType relative_tolerance, FloatType absolute_tolerance) |
|
template<typename FloatType > |
bool | AreWithinAbsoluteTolerance (FloatType x, FloatType y, FloatType absolute_tolerance) |
|
template<typename FloatType > |
bool | IsSmallerWithinTolerance (FloatType x, FloatType y, FloatType tolerance) |
|
template<typename FloatType > |
bool | IsIntegerWithinTolerance (FloatType x, FloatType tolerance) |
|
void | GetBestScalingOfDoublesToInt64 (const std::vector< double > &input, int64 max_absolute_sum, double *scaling_factor, double *max_relative_coeff_error) |
|
double | GetBestScalingOfDoublesToInt64 (const std::vector< double > &input, const std::vector< double > &lb, const std::vector< double > &ub, int64 max_absolute_sum) |
|
void | ComputeScalingErrors (const std::vector< double > &input, const std::vector< double > &lb, const std::vector< double > &ub, double scaling_factor, double *max_relative_coeff_error, double *max_scaled_sum_error) |
|
int64 | ComputeGcdOfRoundedDoubles (const std::vector< double > &x, double scaling_factor) |
|
template<typename FloatType > |
FloatType | Interpolate (FloatType x, FloatType y, FloatType alpha) |
|