Function tap::algorithms::computeGain

Function Documentation

inline float tap::algorithms::computeGain(const array<float, FuzzyPDRuleTable::NUM_FUZZY_MEMBERS> &weights, const array<float, FuzzyPDRuleTable::NUM_FUZZY_MEMBERS> &values)

Computes dot product of weights and values, in essence computing the weighted gain, a linear combination of the values