Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/a/sage-HEAD/src/sage/schemes/plane_conics/constructor.py   sage(Download)
from con_prime_finite_field import ProjectiveConic_prime_finite_field
from con_number_field import ProjectiveConic_number_field
from con_rational_field import ProjectiveConic_rational_field
 
def Conic(base_field, F=None, names=None, unique=True):
            return ProjectiveConic_finite_field(P2, F)
        if is_RationalField(base_field):
            return ProjectiveConic_rational_field(P2, F)
        if is_NumberField(base_field):
            return ProjectiveConic_number_field(P2, F)