java.lang.Object
swim.math.R2Vector
- All Implemented Interfaces:
Debug
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean<T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.booleanstatic TensorForm<R2Vector>form()inthashCode()final R2Vectorstatic R2Vectorof(double x, double y) final R2Vectoropposite()final R2Vectorfinal R2Vectortimes(double scalar) toString()toValue()static R2Vectorzero()
-
Field Details
-
x
public final double x -
y
public final double y
-
-
Constructor Details
-
R2Vector
public R2Vector(double x, double y)
-
-
Method Details
-
plus
-
opposite
-
minus
-
times
-
transform
-
toValue
-
canEqual
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
zero
-
of
-
form
-