I am trying to attach a code file to a sage notebook.  The call is : attach 
("~/.sage/MHF_Bloch_n_Plot.sage").  The error I get is "NameError: name 
'cython' is not defined".  The code in the attach file is:

...

cython("""

#Parallel Cython, Numpy calls -- 3 part3

#Part 1

#Cython version for parallel

import numpy as np

import scipy as sp

from scipy import linalg

cimport numpy as np

cdef extern from "math.h":

    float cosf(float theta)

    float sinf(float theta)

...

""")

...


Am I missing something or is this a bug?

I am using SageMath version 7.5, Release Date: 2017-01-11 built from source 
in a MacBook Pro with MacOS 10.12.2


Thank you for your help. 

Mike

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to