adam.jax.jax_like#
Classes#
Wrapper class for Jax types |
|
Abstract class for a generic Array wrapper. Every method should be implemented for every data type. |
|
Class implementing the main geometric functions used for computing rigid-body algorithm |
Module Contents#
- class adam.jax.jax_like.JaxLike[source]#
Bases:
adam.core.spatial_math.ArrayLike
Wrapper class for Jax types
- class adam.jax.jax_like.JaxLikeFactory[source]#
Bases:
adam.core.spatial_math.ArrayLikeFactory
Abstract class for a generic Array wrapper. Every method should be implemented for every data type.
- class adam.jax.jax_like.SpatialMath[source]#
Bases:
SpatialMath
Class implementing the main geometric functions used for computing rigid-body algorithm
- Parameters:
ArrayLike – abstract class describing a generic Array wrapper. It needs to be implemented for every data type
- static sin(x: numpy.typing.ArrayLike) JaxLike [source]#
- Parameters:
x (npt.ArrayLike) – angle value
- Returns:
sin of x
- Return type:
- static cos(x: numpy.typing.ArrayLike) JaxLike [source]#
- Parameters:
x (npt.ArrayLike) – angle value
- Returns:
cos of x
- Return type:
- static outer(x: numpy.typing.ArrayLike, y: numpy.typing.ArrayLike) JaxLike [source]#
- Parameters:
x (npt.ArrayLike) – vector
y (npt.ArrayLike) – vector
- Returns:
outer product between x and y
- Return type: