| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sympy/vector/__pycache__/ |
Upload File : |
�
M�Zd? � �� � d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z d dl
mZ d dlm
Z
d dlmZmZmZmZmZmZ d d lmZ d d
lmZ d dlmZmZmZ d dlmZ d d
lmZ d dl m!Z! G d� de� Z"d� Z#y)� )�Rational)�S)�symbols)�sign)�sqrt)�gcd)�
Complement)�Basic�Tuple�diff�expand�Eq�Integer)�ordered)�_symbol)�solveset�nonlinsolve�diophantine)�total_degree)�Point)�corec �x � � e Zd ZdZ� fd�Zed� � Zed� � Zed� � Zd� Z d� Z
d� Zd � Zd
� Z
dd�Z� xZS )
�ImplicitRegiona�
Represents an implicit region in space.
Examples
========
>>> from sympy import Eq
>>> from sympy.abc import x, y, z, t
>>> from sympy.vector import ImplicitRegion
>>> ImplicitRegion((x, y), x**2 + y**2 - 4)
ImplicitRegion((x, y), x**2 + y**2 - 4)
>>> ImplicitRegion((x, y), Eq(y*x, 1))
ImplicitRegion((x, y), x*y - 1)
>>> parabola = ImplicitRegion((x, y), y**2 - 4*x)
>>> parabola.degree
2
>>> parabola.equation
-4*x + y**2
>>> parabola.rational_parametrization(t)
(4/t**2, 4/t)
>>> r = ImplicitRegion((x, y, z), Eq(z, x**2 + y**2))
>>> r.variables
(x, y, z)
>>> r.singular_points()
EmptySet
>>> r.regular_point()
(-10, -10, 200)
Parameters
==========
variables : tuple to map variables in implicit equation to base scalars.
equation : An expression or Eq denoting the implicit equation of the region.
c � �� t |t � st |� }t |t � r|j |j z
}t
�| � | ||� S �N)�
isinstancer r �lhs�rhs�super�__new__)�cls� variables�equation� __class__s ��=/usr/lib/python3/dist-packages/sympy/vector/implicitregion.pyr zImplicitRegion.__new__9 sF �� ��)�U�+��y�)�I��h��#��|�|�h�l�l�2�H��w��s�I�x�8�8� c � � | j d S )Nr ��args��selfs r% r"