Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

#***************************************************************************** 

# Copyright (C) 2006 William Stein <wstein@gmail.com> 

# 

# This program is free software: you can redistribute it and/or modify 

# it under the terms of the GNU General Public License as published by 

# the Free Software Foundation, either version 2 of the License, or 

# (at your option) any later version. 

# http://www.gnu.org/licenses/ 

#***************************************************************************** 

  

cimport sage.structure.parent as parent 

from sage.structure.coerce_dict cimport MonoDict, TripleDict 

  

  

cdef class Parent(parent.Parent): 

  

# returns a Morphism from S to self, or None 

cpdef coerce_map_from_c(self, S) 

cdef coerce_map_from_c_impl(self, S) 

  

cdef public MonoDict _has_coerce_map_from 

  

######################################### 

# Canonical Coercion Methods 

cpdef has_coerce_map_from_c(self, S) 

cdef has_coerce_map_from_c_impl(self, S) 

cpdef _coerce_c(self, x) 

cdef _coerce_c_impl(self, x) 

  

cdef _an_element_c_impl(self) 

cpdef _an_element_c(self)