Class DotProduct<E>

java.lang.Object
dk.jonaslindstrom.ruffini.common.algorithms.DotProduct<E>
Type Parameters:
E -
All Implemented Interfaces:
java.util.function.BiFunction<Vector<E>,Vector<E>,E>

public class DotProduct<E> extends Object implements java.util.function.BiFunction<Vector<E>,Vector<E>,E>
Compute the dot product of two vectors over a ring.
  • Constructor Details

    • DotProduct

      public DotProduct(Ring<E> ring)
  • Method Details