- java.lang.Object
-
- swim.math.VectorR2
-
-
Constructor Summary
Constructors Constructor Description VectorR2(double x, double y)
-
Method Summary
Modifier and Type Method Description protected booleancanEqual(VectorR2 that)voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)static TensorForm<VectorR2>form()inthashCode()VectorR2minus(VectorR2 that)static VectorR2of(double x, double y)VectorR2opposite()VectorR2plus(VectorR2 that)VectorR2times(double scalar)StringtoString()ValuetoValue()VectorZ2transform(R2ToZ2Function f)static VectorR2zero()
-
-
-
Method Detail
-
zero
public static VectorR2 zero()
-
of
public static VectorR2 of(double x, double y)
-
form
@Kind public static TensorForm<VectorR2> form()
-
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:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-