Package com.acmerobotics.roadrunner
Class Vector2dDual
-
- All Implemented Interfaces:
public final class Vector2dDual<Param extends Object>
Dual version of Vector2d.
-
-
Constructor Summary
Constructors Constructor Description Vector2dDual(DualNum<Param> x, DualNum<Param> y)
-
Method Summary
Modifier and Type Method Description final Vector2dDual<Param>
plus(Vector2d v)
final Vector2dDual<Param>
plus(Vector2dDual<Param> v)
final Vector2dDual<Param>
minus(Vector2dDual<Param> v)
final Vector2dDual<Param>
unaryMinus()
final Vector2dDual<Param>
div(Double z)
final DualNum<Param>
dot(Vector2dDual<Param> v)
final DualNum<Param>
sqrNorm()
final DualNum<Param>
norm()
final Vector2dDual<Param>
bind()
final <NewParam extends Any> Vector2dDual<NewParam>
reparam(DualNum<NewParam> oldParam)
final Vector2dDual<Param>
drop(Integer n)
final Vector2d
value()
final Rotation2dDual<Param>
angleCast()
final static <Param extends Any> Vector2dDual<Param>
constant(Vector2d v, Integer n)
-
-
Method Detail
-
plus
final Vector2dDual<Param> plus(Vector2d v)
-
plus
final Vector2dDual<Param> plus(Vector2dDual<Param> v)
-
minus
final Vector2dDual<Param> minus(Vector2dDual<Param> v)
-
unaryMinus
final Vector2dDual<Param> unaryMinus()
-
div
final Vector2dDual<Param> div(Double z)
-
dot
final DualNum<Param> dot(Vector2dDual<Param> v)
-
bind
final Vector2dDual<Param> bind()
-
drop
final Vector2dDual<Param> drop(Integer n)
-
angleCast
final Rotation2dDual<Param> angleCast()
-
-
-
-