Module swim.math
Package swim.math

Class RNVector

java.lang.Object
swim.math.RNVector
All Implemented Interfaces:
Debug

public class RNVector extends Object implements Debug
  • Constructor Details

    • RNVector

      public RNVector(double... array)
  • Method Details

    • dimension

      public final int dimension()
    • get

      public final double get(int i)
    • plus

      public final RNVector plus(RNVector that)
    • opposite

      public final RNVector opposite()
    • minus

      public final RNVector minus(RNVector that)
    • times

      public final RNVector times(double scalar)
    • toValue

      public Value toValue()
    • canEqual

      protected boolean canEqual(RNVector that)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • 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.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • of

      public static RNVector of(double... array)
    • form

      @Kind public static TensorForm<RNVector> form()