+
    i                     8   R t ^ RIHt ^ RIHtHt ^RIHt ^RIH	t	H
t
 ^ RIHt R. RNRNR	NR
NRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR NR!NR"NR#NR$NR%NR&NR'NR(NR)NR*NR+NR,NR-NR.NR/NR0NR1NR2NR3NR4NR5NR6NR7NR8NR9NR:NR;NR<NR=NR>NR?NR@NRANRBNRCNRDNRENRFNRGNRHNRINRJNRKNRLNRMNRNNRONRPN/t]R,          RQ,          . RmO,           ]RR&   ]RR,          RQ,          ]RS&   ]RS,          P                  R54       RRTRURVRW/RRRXRY/RSRZRZR[R\R]R^//tRn F  t]P#                  4       ]R,          ]&   K  	  Ro F  t]P#                  4       ]RR,          ]&   K  	  R_ tR` t ! Ra Rb4      t ! Rc Rd]]	4      t ! Re Rf]]
4      t ! Rg Rh]]
4      tRi]Rj]Rk]/tRl# )pz
C++ code printer
)chain)Typenone)requires)C89CodePrinterC99CodePrinter)cxxcodeC++98andand_eqasmautobitandbitorboolbreakcasezcatch,charclasscomplconst
const_castcontinuedefaultdeletedodoubledynamic_castelseenumexplicitexportexternfalsefloatforfriendgotoifinlineintlongmutable	namespacenewnotnot_eqoperatororor_eqprivate	protectedpublicregisterreinterpret_castreturnshortsignedsizeofstaticstatic_caststructswitchtemplatethisthrowtruetrytypedeftypeidtypenameunionunsignedusingvirtualvoidvolatilewchar_twhilexorxor_eq:NNNC++11C++17ModfmodceilingceilgammatgammabetaEiexpintzetariemann_zetac                    a R V,          p\        W4      '       d   \        R4      hV3R lpR\        ,          Vn        \	        WV4       R# )z	_print_%sz1Edit method (or subclass) instead of overwriting.c           
         < R P                  V P                  SRP                  \        V P                  VP
                  4      4      4      # )z{}{}({}), )format_nsjoinmap_printargs)selfexpr	func_names   &&r/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/sympy/printing/cxx.py_print_method+_attach_print_method.<locals>._print_methodG   s7      9diiDKKQUQZQZ@[6\]]    zPrints code for %sN)hasattr
ValueErrork__doc__setattr)cls
sympy_namerk   	meth_namerm   s   &&f  rl   _attach_print_methodrx   C   sA    j(IsLMM^014MCM*ro   c                 p    WP                   ,          P                  4        F  w  r#\        WV4       K  	  R # N)standarditemsrx   )ru   contrv   cxx_names   &&  rl   _attach_print_methodsr   M   s)     $\\ 2 8 8 :
Sh7 !;ro   c                      a a ] tR t^Rt oRtRtRtRV 3R llt]! R0R7      R 4       t	]! R0R7      R 4       t
R	 tR
 t]! R0R7      R 4       tRtVtV ;t# )_CXXCodePrinterBase_cxxcodezC++zstd::c                :   < \         ST `  T;'       g    / 4       R # rz   )super__init__)ri   settings	__class__s   &&rl   r   _CXXCodePrinterBase.__init__W   s    R(ro   	algorithm)headersc           
     >   ^ RI Hp \        VP                  4      ^8X  d#   V P	                  VP                  ^ ,          4      # V P
                  : RV P	                  VP                  ^ ,          4      : RV P	                  V! VP                  R,          !  4      : R2# )    )Maxzmax(rb      NN))(sympy.functions.elementary.miscellaneousr   lenrh   rg   rd   )ri   rj   r   s   && rl   
_print_Max_CXXCodePrinterBase._print_MaxZ   k    @tyy>Q;;tyy|,,"&((DKK		!,E"&++c499R=.A"BD 	Dro   c           
     >   ^ RI Hp \        VP                  4      ^8X  d#   V P	                  VP                  ^ ,          4      # V P
                  : RV P	                  VP                  ^ ,          4      : RV P	                  V! VP                  R,          !  4      : R2# )r   )Minzmin(rb   r   r   )r   r   r   rh   rg   rd   )ri   rj   r   s   && rl   
_print_Min_CXXCodePrinterBase._print_Minb   r   ro   c                h    VP                   \        8X  d   R VP                  ,          # \        R4      h)zusing %sz#C++98 does not support type aliases)aliasr   typerq   ri   rj   s   &&rl   _print_using _CXXCodePrinterBase._print_usingj   s)    ::		))BCCro   c                N    VP                   w  pR V P                  V4      ,          # )zthrow %s)rh   rg   )ri   rsargs   && rl   _print_Raise _CXXCodePrinterBase._print_Raisep   s!    wwDKK,,,ro   	stdexceptc                d    VP                   w  pV P                  : R V P                  V4      : R2# )zruntime_error(r   )rh   rd   rg   )ri   remessages   && rl   _print_RuntimeError_(_CXXCodePrinterBase._print_RuntimeError_t   s%    77(,$++g2FGGro    rz   )__name__
__module____qualname____firstlineno__printmethodlanguagerd   r   r   r   r   r   r   r   __static_attributes____classdictcell____classcell__r   __classdict__s   @@rl   r   r   R   s     KH
C) {m$D %D {m$D %DD- {m$H %H Hro   r   c                   8    ] tR t^ztRt]! ]R,          4      tRtR# )CXX98CodePrinterr	   r   N)	r   r   r   r   r{   setreservedreserved_wordsr   r   ro   rl   r   r   z   s    H'*+Nro   r   c                     a a ] tR t^t oRt]! ]R,          4      t]! ]	! ]
P                  P                  4       ]! R4      RR03]! R4      RR03]! R4      RR03]! R	4      R
R03]! R4      RR03]! R4      RR03]! R4      RR03]! R4      RR03]! R4      RR03]! R4      RR03]! R4      R/P                  4       4      4      tV 3R ltRtVtV ;t# )CXX11CodePrinterrS   int8int8_tcstdintint16int16_tint32int32_tint64int64_tuint8uint8_tuint16uint16_tuint32uint32_tuint64uint64_t	complex64zstd::complex<float>complex
complex128zstd::complex<double>r   c                   < VP                   \        8X  d   \        SV `  V4      # R VP	                  V P
                  R7      ,          # )zusing %(alias)s = %(type)s)apply)r   r   r   r   kwargsrg   )ri   rj   r   s   &&rl   r   CXX11CodePrinter._print_using   s9    ::7'--/$++DKK+2PPPro   r   )r   N)r   r   r   r   r{   r   r   r   dictr   r   type_mappingsr|   r   r   r   r   r   r   s   @@rl   r   r      s    H'*+N&&,,.L8i[1MI	{3MI	{3MI	{3MI	{3NZ)5NZ)5NZ)5 5	{C!7) EL.	
 %' M"Q Qro   r   c                      a  ] tR t^t o Rt]! ]R,          4      t]! ]	P                  3/ ]R,          B t
R tR tR tRtV tR# )CXX17CodePrinterrT   c                $    V P                  V4      # rz   _print_math_funcr   s   &&rl   _print_betaCXX17CodePrinter._print_beta       $$T**ro   c                $    V P                  V4      # rz   r   r   s   &&rl   	_print_EiCXX17CodePrinter._print_Ei   r   ro   c                $    V P                  V4      # rz   r   r   s   &&rl   _print_zetaCXX17CodePrinter._print_zeta   r   ro   r   N)r   r   r   r   r{   r   r   r   r   r   _kf_math_functionsr   r   r   r   r   )r   s   @rl   r   r      sG     H'*+N
~!!
>_W%=
>C+++ +ro   r   zc++98zc++11zc++17N)
alignasalignofchar16_tchar32_t	constexprdecltypenoexceptnullptrstatic_assertthread_local)Absexploglog10sqrtsincostanasinacosatanatan2sinhcoshtanhfloor)asinhacoshatanherferfc)rs   	itertoolsr   sympy.codegen.astr   r   codeprinterr   cr   r   sympy.printing.codeprinterr   r   remover   rr   lowerrx   r   r   r   r   r   cxx_code_printersr   ro   rl   <module>r     s7    ( ! - /   &(029;ACJ ")+24;=I 	   ( *. 08 :H 		 	 #	 %-	 /7	 9@	 BI	
 	
 
  
 "&
 (0
 27
 9?
 AJ 	  " $, .8 :> @G 	  !) +5 7I 	  $ &. 08 :G 	  ' )/ 18 :@ BG 	  ( *1 3= ?F 	  & (1 3: <A CK  W%a( ,   W%a(      $ v6  h 
LA"#'')OGQ
L
 
4A"#'')OGQ 
4+8
%H %HP,*N ,Q*N Q:+*N +&  ro   