Module swim.math
Package swim.math

Interface TensorSpace<V,S>

All Known Subinterfaces:
VectorSpace<V,S>
All Known Implementing Classes:
R, R2, R3, RN, TensorArraySpace

public interface TensorSpace<V,S>
  • Method Details

    • scalar

      Field<S> scalar()
    • dimensions

      TensorDims dimensions()
    • 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)