+
    åûj‹  ã                   ó6   € R t ^ RIt^ RIHt R R ltR R ltR# )z^Numerical helpers of the epipolar functions: the cross-product matrix and the cofactor matrix.N)Ú
ShapeErrorc                óX   € V ^8„  d   QhR\         P                  R\         P                  /# )é   ÚxÚreturn©ÚtorchÚTensor)Úformats   "Ú\C:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\kornia\geometry\epipolar\numeric.pyÚ__annotate__r      s"   € ÷ &3ñ &3œEŸL™Lð &3¬U¯\©\ñ &3ó    c                ó¶  € V P                   ^ 8X  g   V P                  R,          ^8w  d;   \        R\        V P                  4       R2\        V P                  4      RR.R7      hV R	,          pV R
,          pV R,          p\        P
                  ! V4      p\        P                  ! WC) W#WA) V) W.	RR7      pV P                  RR R,           pVP                  ! V!  # )a"  Build the skew-symmetric cross-product matrices of 3-vectors with any number of leading dimensions.

``S = cross_product_matrix(x)`` takes vectors ``(*, 3)`` and returns the matrices :math:`[x]_\times`,
``(*, 3, 3)``, with ``S @ w == cross(x, w)``: the matrix that :func:`essential_from_Rt` multiplies the relative
rotation by. :func:`~kornia.geometry.conversions.vector_to_skew_symmetric_matrix` builds the same matrix for a
``(3,)`` or ``(B, 3)`` vector only.

Convention:
    - Same matrix as :func:`~kornia.geometry.conversions.vector_to_skew_symmetric_matrix`,
      :math:`[x]_\times w = x \times w`, for any number of leading dims.

Args:
    x: The input vector to construct the matrix in the shape ``(*, 3)``.

Returns:
    The skew-symmetric matrix with shape ``(*, 3, 3)``.

See Also:
    - :func:`~kornia.geometry.conversions.vector_to_skew_symmetric_matrix`: the same matrix, for ``(3,)`` or
      ``(B, 3)`` vectors only.
    - :meth:`~kornia.geometry.liegroup.So3.hat`: the same matrix, as the Lie-algebra element of a rotation
      vector.

zx must have shape (*, 3), got Ú.Ú*Ú3)Úactual_shapeÚexpected_shape©ÚdimNéÿÿÿÿ).é    ).é   ).r   )é   r   )ÚndimÚshaper   Úlistr   Ú
zeros_likeÚstackÚview)r   Úx0Úx1Úx2ÚzerosÚcross_product_matrix_flatÚshape_s   &      r   Úcross_product_matrixr&      sÍ   € ð2 	‡v�v�„{�a—g‘g˜b•k QÔ&ÜØ,¬T°!·'±'«]¨O¸1Ð=ÌDÐQR×QXÑQXËMÐknÐpsÐjtô
ð 	
ð 
ˆ6�€BØ	
ˆ6�€BØ	
ˆ6�€Bô ×Ò˜RÓ €EÜ %§¢¨U°C¸ÀÈÈbÈSÐRTÐ,\ÐbdÔ eÐØ�W‰W�S�bˆ\˜FÕ"€FØ$×)Ò)¨6Ñ2Ð2r   c                óX   € V ^8„  d   QhR\         P                  R\         P                  /# )r   Úmatrixr   r   )r
   s   "r   r   r   B   s&   € ÷ xñ x¤5§<¡<ð x´E·L±Lñ xr   c           
     óð   € V R,          V R,          V R,          r2p\         P                  ! \         P                  ! W#RR7      \         P                  ! W1RR7      \         P                  ! WRR7      .RR7      # )zjCofactor matrix, refer to the numpy doc.

Args:
    matrix: The input matrix in the shape ``(*, 3, 3)``.

r   ).r   ºNNN).r   r*   ).r   r*   r   éþÿÿÿ)r   r   Úcross)r(   Úr0Úr1Úr2s   &   r   Úmatrix_cofactor_tensorr0   B   s]   € ð ˜	Õ" F¨9Õ$5°v¸iÕ7HˆB€BÜ�;Š;œŸš B°Ô3´U·[²[ÀÈRÔ5PÔRW×R]ÒR]Ð^`ÐjlÔRmÐnÐtvÔwÐwr   )Ú__doc__r   Úkornia.core.exceptionsr   r&   r0   © r   r   Ú<module>r4      s   ðñ$ eã å -õ&3÷Rxr   