This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Loops in Cantor with Sage

Tags: None
(comma "," separated)
claus_chr
Registered Member
Posts
40
Karma
1
OS

Loops in Cantor with Sage

Mon Feb 04, 2013 5:08 pm
This question popped up on a UserBase talk page. I'm reposting it here, hoping that someone knows the answer :-).

Hi,

I am having issues with running loops, reading, and writting to files when I use cantor for sage. It turns out that sage requires indentation for loops since sage is python based. However in cantor there is no way to indent code. I have tried asking on google sage-support, and sage math but no one even responded to it. I am now asking anyone on here what I need to do about this issue.

Eric
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Loops in Cantor with Sage

Thu Feb 07, 2013 10:13 am
The only thing I can suggest at this point is asking on the KDE Education development mailing list, kde-edu@kde.org.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
aishen
Registered Member
Posts
5
Karma
0

Re: Loops in Cantor with Sage

Thu Dec 12, 2013 7:20 am
I have no problems with sage indentation ?
But it's very sensible and sometimes I need long time to find the right syntax.
The easiest way is to cut expression
def argd(x):
return N(arg(x)*degrees)
One expression in one line (though it works well all toghever)
I work on version 4.11.97 to get latex working again
regards


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]