- java.lang.Object
-
- swim.math.Z2
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedZ2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VectorZ2add(VectorZ2 u, VectorZ2 v)VectorZ2combine(Long a, VectorZ2 u, Long b, VectorZ2 v)voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.LonggetX(VectorZ2 v)LonggetY(VectorZ2 v)static Z2module()VectorZ2multiply(VectorZ2 u, Long a)VectorZ2of(Long x, Long y)VectorZ2opposite(VectorZ2 v)Zscalar()VectorZ2subtract(VectorZ2 u, VectorZ2 v)StringtoString()VectorZ2zero()
-
-
-
Method Detail
-
module
public static Z2 module()
-
scalar
public final Z scalar()
- Specified by:
scalarin interfaceVectorModule<VectorZ2,Long>
-
zero
public final VectorZ2 zero()
- Specified by:
zeroin interfaceVectorModule<VectorZ2,Long>
-
add
public final VectorZ2 add(VectorZ2 u, VectorZ2 v)
- Specified by:
addin interfaceVectorModule<VectorZ2,Long>
-
opposite
public final VectorZ2 opposite(VectorZ2 v)
- Specified by:
oppositein interfaceVectorModule<VectorZ2,Long>
-
subtract
public final VectorZ2 subtract(VectorZ2 u, VectorZ2 v)
- Specified by:
subtractin interfaceVectorModule<VectorZ2,Long>
-
multiply
public final VectorZ2 multiply(VectorZ2 u, Long a)
- Specified by:
multiplyin interfaceVectorModule<VectorZ2,Long>
-
combine
public final VectorZ2 combine(Long a, VectorZ2 u, Long b, VectorZ2 v)
- Specified by:
combinein interfaceVectorModule<VectorZ2,Long>
-
debug
public void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-