- java.lang.Object
-
- swim.math.VectorR2
-
- All Implemented Interfaces:
swim.codec.Debug
public class VectorR2 extends Object implements swim.codec.Debug
-
-
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 booleancanEqual(VectorR2 that)voiddebug(swim.codec.Output<?> output)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()swim.structure.ValuetoValue()VectorZ2transform(R2ToZ2Function f)static VectorR2zero()
-
-
-
Method Detail
-
opposite
public final VectorR2 opposite()
-
times
public final VectorR2 times(double scalar)
-
transform
public VectorZ2 transform(R2ToZ2Function f)
-
toValue
public swim.structure.Value toValue()
-
canEqual
protected boolean canEqual(VectorR2 that)
-
debug
public void debug(swim.codec.Output<?> output)
- Specified by:
debugin interfaceswim.codec.Debug
-
zero
public static VectorR2 zero()
-
of
public static VectorR2 of(double x, double y)
-
form
@Kind public static TensorForm<VectorR2> form()
-
-