dotSum method

num dotSum(
  1. NumPair np
)

Implementation

num dotSum(NumPair np) => (this * np).sum();