- java.lang.Object
-
- swim.math.R2Vector
-
-
Constructor Summary
Constructors Constructor Description R2Vector(double x, double y)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(R2Vector that)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
static TensorForm<R2Vector>
form()
int
hashCode()
R2Vector
minus(R2Vector that)
static R2Vector
of(double x, double y)
R2Vector
opposite()
R2Vector
plus(R2Vector that)
R2Vector
times(double scalar)
String
toString()
Value
toValue()
Z2Vector
transform(R2ToZ2Function f)
static R2Vector
zero()
-
-
-
Method Detail
-
opposite
public final R2Vector opposite()
-
times
public final R2Vector times(double scalar)
-
transform
public Z2Vector transform(R2ToZ2Function f)
-
toValue
public Value toValue()
-
canEqual
protected boolean canEqual(R2Vector that)
-
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 tooutput
.
-
zero
public static R2Vector zero()
-
of
public static R2Vector of(double x, double y)
-
form
@Kind public static TensorForm<R2Vector> form()
-
-