Ask Your Question

Haron's profile - activity

2019-04-18 19:53:25 +0200 received badge  Notable Question (source)
2015-06-23 20:59:21 +0200 received badge  Popular Question (source)
2015-04-16 20:42:53 +0200 commented answer Is Einstein notation available in sage?

Dear Eric,

1) I must to thanks for your attention.

2) I saw the details link you mentioned. Your theory is very good. because I deal with vector spaces as very special modules. It works and seems flexible in computations. But, here is a problem for me. Since I am working with tensors symbolically, I need to recognizing no fixed dimension. Cadabra serves this very good for me. But, I like to do all of my computation with sage and python only.

2015-04-16 12:11:13 +0200 received badge  Student (source)
2015-04-16 00:28:23 +0200 received badge  Editor (source)
2015-04-16 00:26:15 +0200 asked a question Is Einstein notation available in sage?

Dear all

I searched here. But I can not find a contented answer. There is a very usable notation in summations simplifying computations inclusive very $\Sigma$.

Is there a way in Sage that I can use this kind of notation? For more information, this notation is worked out in Cadabra.

2015-04-15 20:07:28 +0200 commented answer A confusing syntax error when using elif

@kcrisman Thank you Kcrisman. Sorry for this delaying.

2015-04-15 20:06:45 +0200 received badge  Scholar (source)
2015-04-14 18:27:19 +0200 commented answer A confusing syntax error when using elif

Thank you. I understand.

2015-04-14 18:04:19 +0200 asked a question A confusing syntax error when using elif

Dear All

This is my confusing problem:

sage: m=31
sage: if m%3==0:
....:     print m/3
....:     elif m%3==1:
....:         print (m-1)/3
....:
File "<ipython-input-2-ec9f38b42615>", line 3
  elif m%Integer(3)==Integer(1):
      ^
SyntaxError: invalid syntax

sage:

I do not copy-paste the code. I have ubuntu14.04 and my sage version is 6.5.