On Monday, July 10, 2017 at 2:27:10 PM UTC+2, HG wrote: > > thanks but I am trying already for a long time... I think that even > sagemanifolds is very near capacity of doing it but I am not good to make > it ! > > I don't understand the f[switch_] ;= Module .... part > That question might be more suitable for a mathematica forum. It looks to me that this is just
def f(switch): if switch=="yin": coords = ... else: coords = ... .... return (surfaceRad, surfaceTht, surfacePhi) -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.