dot¶ Returns the dot product of two vectors represented as dicts. Parameters¶ x (dict) y (dict) Examples¶ >>> from river import utils >>> x = {'x0': 1, 'x1': 2} >>> y = {'x1': 21, 'x2': 3} >>> utils.math.dot(x, y) 42