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