weightAt method

  1. @override
double weightAt(
  1. int r,
  2. int c
)
override

The weight the kernel uses at (r, c), for tests.

Implementation

@override
double weightAt(int r, int c) =>
    _qs[r * cols + c] * _scales[(r * cols + c) ~/ 32];