dotRow method

double dotRow (int i, Vector2 v)

Returns the dot product of row i and v.

Implementation

double dotRow(int i, Vector2 v) {
  final Float64List vStorage = v._v2storage;
  return _m2storage[i] * vStorage[0] + _m2storage[2 + i] * vStorage[1];
}