dotColumn method

double dotColumn(
  1. int j,
  2. Vector2 v
)

Returns the dot product of column j and v.

Implementation

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