symforce.geo package#
Package for symbolic geometric types using the Sympy API, focused on 2D and 3D transforms for use in robotics and optimization.
Implements strict notions of Storage types, Group types, and LieGroup types.
The design of these concepts is similar to those in GTSAM and Sophus:
Subpackages#
Submodules#
- symforce.geo.complex module
- symforce.geo.dual_quaternion module
- symforce.geo.matrix module
Matrix
MatrixT
SHAPE
__new__()
rows
cols
shape
is_Matrix
storage_dim()
from_storage()
to_storage()
tangent_dim()
from_tangent()
to_tangent()
storage_D_tangent()
tangent_D_storage()
zero()
zeros()
one()
ones()
diag()
eye()
det()
inv()
symbolic()
row_join()
col_join()
block_matrix()
simplify()
limit()
jacobian()
diff()
T
transpose()
lower_triangle()
Triangle
symmetric_copy()
reshape()
dot()
cross()
squared_norm()
norm()
normalized()
clamp_norm()
multiply_elementwise()
applyfunc()
__getitem__()
row()
col()
__neg__()
__add__()
__sub__()
__mul__()
__rmul__()
__div__()
compute_AtA()
LU()
LDL()
FFLU()
FFLDU()
solve()
__truediv__()
are_parallel()
skew_symmetric()
evalf()
to_list()
to_flat_list()
from_flat_list()
to_numpy()
column_stack()
is_vector()
init_printing()
Matrix11
Matrix21
Matrix31
Matrix41
Matrix51
Matrix61
Matrix71
Matrix81
Matrix91
Matrix12
Matrix22
Matrix32
Matrix42
Matrix52
Matrix62
Matrix72
Matrix82
Matrix92
Matrix13
Matrix23
Matrix33
Matrix43
Matrix53
Matrix63
Matrix73
Matrix83
Matrix93
Matrix14
Matrix24
Matrix34
Matrix44
Matrix54
Matrix64
Matrix74
Matrix84
Matrix94
Matrix15
Matrix25
Matrix35
Matrix45
Matrix55
Matrix65
Matrix75
Matrix85
Matrix95
Matrix16
Matrix26
Matrix36
Matrix46
Matrix56
Matrix66
Matrix76
Matrix86
Matrix96
Matrix17
Matrix27
Matrix37
Matrix47
Matrix57
Matrix67
Matrix77
Matrix87
Matrix97
Matrix18
Matrix28
Matrix38
Matrix48
Matrix58
Matrix68
Matrix78
Matrix88
Matrix98
Matrix19
Matrix29
Matrix39
Matrix49
Matrix59
Matrix69
Matrix79
Matrix89
Matrix99
m
matrix_type_from_shape()
M
Vector1
Vector2
Vector3
Vector4
Vector5
Vector6
Vector7
Vector8
Vector9
V1
V2
V3
V4
V5
V6
V7
V8
V9
M11
M21
M31
M41
M51
M61
M71
M81
M91
M12
M22
M32
M42
M52
M62
M72
M82
M92
M13
M23
M33
M43
M53
M63
M73
M83
M93
M14
M24
M34
M44
M54
M64
M74
M84
M94
M15
M25
M35
M45
M55
M65
M75
M85
M95
M16
M26
M36
M46
M56
M66
M76
M86
M96
M17
M27
M37
M47
M57
M67
M77
M87
M97
M18
M28
M38
M48
M58
M68
M78
M88
M98
M19
M29
M39
M49
M59
M69
M79
M89
M99
I1()
I11()
I2()
I22()
I3()
I33()
I4()
I44()
I5()
I55()
I6()
I66()
I7()
I77()
I8()
I88()
I9()
I99()
- symforce.geo.pose2 module
- symforce.geo.pose3 module
- symforce.geo.quaternion module
- symforce.geo.rot2 module
- symforce.geo.rot3 module
Rot3
storage_dim()
to_storage()
from_storage()
symbolic()
identity()
compose()
inverse()
tangent_dim()
from_tangent()
to_tangent()
hat()
storage_D_tangent()
tangent_D_storage()
__mul__()
to_tangent_norm()
to_rotation_matrix()
from_rotation_matrix()
to_yaw_pitch_roll()
from_yaw_pitch_roll()
from_angle_axis()
from_two_unit_vectors()
angle_between()
random()
random_from_uniform_samples()
- symforce.geo.unit3 module