multiplyAddStep function

void multiplyAddStep({
  1. required double factorA,
  2. required double step,
  3. required List<double> factorB,
  4. required List<double> dest,
})

Implementation

void multiplyAddStep({required double factorA, required double step,  required List<double> factorB, required List<double> dest})
{
  for (var i = 0; i < dest.length; i++)
  {
      dest[i] += factorA * factorB[i];
      factorA += step;
  }
}