Lines Matching refs:inputCoeffs

158 static float targetGToVlevelsUnderLinearEquation(std::array<float, 4> inputCoeffs, float targetG) {  in targetGToVlevelsUnderLinearEquation()  argument
162 outPutVal = (targetG - inputCoeffs[1]) / inputCoeffs[0]; in targetGToVlevelsUnderLinearEquation()
170 static float targetGToVlevelsUnderCubicEquation(std::array<float, 4> inputCoeffs, float targetG) { in targetGToVlevelsUnderCubicEquation() argument
179 AA = inputCoeffs[1] * inputCoeffs[1] - 3.0 * inputCoeffs[0] * inputCoeffs[2]; in targetGToVlevelsUnderCubicEquation()
180 BB = inputCoeffs[1] * inputCoeffs[2] - 9.0 * inputCoeffs[0] * (inputCoeffs[3] - targetG); in targetGToVlevelsUnderCubicEquation()
181 CC = inputCoeffs[2] * inputCoeffs[2] - 3.0 * inputCoeffs[1] * (inputCoeffs[3] - targetG); in targetGToVlevelsUnderCubicEquation()
189 outPutVal = -inputCoeffs[1] / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
196 Y1 = AA * inputCoeffs[1] + 3.0 * inputCoeffs[0] * (-BB + pow(Delta, oneHalf)) / 2.0; in targetGToVlevelsUnderCubicEquation()
197 Y2 = AA * inputCoeffs[1] + 3.0 * inputCoeffs[0] * (-BB - pow(Delta, oneHalf)) / 2.0; in targetGToVlevelsUnderCubicEquation()
200 return (-inputCoeffs[1] + pow(-Y1, oneThird) - pow(Y2, oneThird)) / in targetGToVlevelsUnderCubicEquation()
201 (3.0 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
203 return (-inputCoeffs[1] - pow(Y1, oneThird) + pow(-Y2, oneThird)) / in targetGToVlevelsUnderCubicEquation()
204 (3.0 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
206 return (-inputCoeffs[1] + pow(-Y1, oneThird) + pow(-Y2, oneThird)) / in targetGToVlevelsUnderCubicEquation()
207 (3.0 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
209 return (-inputCoeffs[1] - pow(Y1, oneThird) - pow(Y2, oneThird)) / in targetGToVlevelsUnderCubicEquation()
210 (3.0 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
215 T = (2 * AA * inputCoeffs[1] - 3 * inputCoeffs[0] * BB) / (2 * AA * sqrt(AA)); in targetGToVlevelsUnderCubicEquation()
221 outPutVal = (-inputCoeffs[1] - 2 * sqrtA * cosSita) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
225 outPutVal = (-inputCoeffs[1] + sqrtA * (cosSita + sinSitaSqrt3)) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
229 outPutVal = (-inputCoeffs[1] + sqrtA * (cosSita - sinSitaSqrt3)) / (3 * inputCoeffs[0]); in targetGToVlevelsUnderCubicEquation()
237 outPutVal = (-inputCoeffs[1] / inputCoeffs[0] + K); in targetGToVlevelsUnderCubicEquation()
253 std::array<float, 4> inputCoeffs, float vLevel) { in vLevelsToTargetGUnderCubicEquation() argument
256 return inputCoeffs[0] * pow(inputVoltage, 3) + in vLevelsToTargetGUnderCubicEquation()
257 inputCoeffs[1] * pow(inputVoltage, 2) + inputCoeffs[2] * inputVoltage + in vLevelsToTargetGUnderCubicEquation()
258 inputCoeffs[3]; in vLevelsToTargetGUnderCubicEquation()