Module swim.math
Package swim.math

Interface VectorModule<V,S>

All Known Subinterfaces:
F2<V,S>, F3<V,S>, FN<V,S>, VectorSpace<V,S>
All Known Implementing Classes:
R, R2, R3, RN, Z, Z2, Z3

public interface VectorModule<V,S>
  • Method Details

    • scalar

      Ring<S> scalar()
    • zero

      V zero()
    • add

      V add(V u, V v)
    • opposite

      V opposite(V v)
    • subtract

      V subtract(V u, V v)
    • multiply

      V multiply(V u, S a)
    • combine

      V combine(S a, V u, S b, V v)