- 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 booleancanEqual(R2Vector that)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)static TensorForm<R2Vector>form()inthashCode()R2Vectorminus(R2Vector that)static R2Vectorof(double x, double y)R2Vectoropposite()R2Vectorplus(R2Vector that)R2Vectortimes(double scalar)StringtoString()ValuetoValue()Z2Vectortransform(R2ToZ2Function f)static R2Vectorzero()
-
-
-
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:DebugWrites 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()
-
-