Module swim.math
Package swim.math

Class RNVector

  • All Implemented Interfaces:
    Debug

    public class RNVector
    extends Object
    implements Debug
    • Constructor Detail

      • RNVector

        public RNVector​(double... array)
    • Method Detail

      • dimension

        public final int dimension()
      • get

        public final double get​(int i)
      • opposite

        public final RNVector opposite()
      • times

        public final RNVector times​(double scalar)
      • toValue

        public Value toValue()
      • canEqual

        protected boolean canEqual​(RNVector that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public <T> Output<T> debug​(Output<T> output)
        Description copied from interface: Debug
        Writes a developer readable, debug-formatted string representation of this object to output.
        Specified by:
        debug in interface Debug
        Returns:
        the continuation of the output.
      • of

        public static RNVector of​(double... array)