
    AVh                          d Z d Zd Zd Zd Zy)z3Common utilities for LinearOperator property hints.c                     | j                   r|j                   ry| j                   du r|j                   du s| j                   du r|j                   du ryy)z(Get combined hint for self-adjoint-ness.TFN)is_self_adjoint
operator_a
operator_bs     _/home/dcms/DCMS/lib/python3.12/site-packages/tensorflow/python/ops/linalg/property_hint_util.py$combined_commuting_self_adjoint_hintr      sZ     J$>$> !!T)!!U*!!U*!!T) 
    c                    | j                   r|j                   ry| j                   du r/|j                   du r!| j                  }|j                  }||||k(  S | j                   |j                   k7  r| j                   |j                   yy)z3Return a hint to whether the composition is square.TFN)	is_squarerange_dimensiondomain_dimension)r   r   mls       r   r   r   +   s    j22U"z';';u'D""A##A}!Vmj222&:+?+?+K	r	   c                 v    | j                   du r+| j                  du r|j                   du r|j                  du ryy)z&Get combined PD hint for compositions.TN)is_positive_definiter   r   s     r   )combined_commuting_positive_definite_hintr   @   sD     %%-  D(%%-  D( 
r	   c                 p    | j                   du s|j                   du ry| j                   xr |j                   S )zGet combined hint for when .F)is_non_singularr   s     r   combined_non_singular_hintr   M   s<    
   E)  E) 
	#	#	B
(B(BBr	   N)__doc__r   r   r   r    r	   r   <module>r      s    :0*

Cr	   