On Feb 8, 1:02 am, Chris Smith smi...@gmail.com wrote:
Perhaps a `separator`=_ keyword could be added.
Chris, thanks. I have experimented a bit and have some results and
some questions which remain. Here goes.
I have written a little modification to symarray called csymarray. I
list it
It sounds like you want to actually create the variables a_00 =
Symbol('a_00'), a_01 = ... in the active namespace.
In a previous e-mail you wrote that you wanted something like the following
for i in range(1,3):
for j in range(1,3):
aij = Symbol('a_%d%d' % (i,j))
Unfortunately
So, it seems that ZS is defined and has length 3. So it is three
'vectors'. But the individual components are not defined? Who ordered
that? I want to create the 3x3 matrix and then create a new symmetric
matrix from ZS ( the 'S' in the name ZS is for using the Symbol()
rather than
Hi Matt,
Thanks for the reply!
On Feb 10, 1:59 pm, Matthew Rocklin mrock...@gmail.com wrote:
It sounds like you want to actually create the variables a_00 =
Symbol('a_00'), a_01 = ... in the active namespace.
In a previous e-mail you wrote that you wanted something like the following
for i
Hi Chris,
Thanks very much for your reply and its content. Between you and Matt
I think I see better what is going on.
Comer
On Feb 10, 2:23 pm, Chris Smith smi...@gmail.com wrote:
So, it seems that ZS is defined and has length 3. So it is three
'vectors'. But the individual components are
On Sat, Feb 11, 2012 at 1:15 AM, Comer comer.dun...@gmail.com wrote:
Hi Chris,
Thanks very much for your reply and its content. Between you and Matt
I think I see better what is going on.
I appreciated how helpful the python community was when I was learning
(Danny Yoo was the tutor-list
Matt,
Thanks for the suggestions. Way 2 is more what I want to do(but not
quite) right now, but having the capability to do it via way 1 will be
welcomed!
Comer
On Feb 5, 3:03 pm, Matthew Rocklin mrock...@gmail.com wrote:
In pull request 1015 https://github.com/sympy/sympy/pull/1015 you can
Miham,
Thanks for the suggestion. It is rather elegant. However, I really
want to be able to assign a more convenient label to the created
symbols. That is, I want to assign
a11 - a_11, a12 - a_12, etc as the new symbols are defined. In a
loop would be nice, but I can not seem to get the
Hi Ondrej,
Your suggestion is very useful. I am now defining a matrix array with
element notation a_ij and label aij whereas your suggestion seems to
result in a_i_j and no more convenient to type label such as my
desired aij. How to do this?
Comer
On Feb 7, 4:06 am, Ondřej Čertík
On Tue, Feb 7, 2012 at 1:11 PM, Comer comer.dun...@gmail.com wrote:
Hi Ondrej,
Your suggestion is very useful. I am now defining a matrix array with
element notation a_ij and label aij whereas your suggestion seems to
result in a_i_j and no more convenient to type label such as my
desired
Perhaps a `separator`=_ keyword could be added.
--
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to
sympy+unsubscr...@googlegroups.com.
For more
Try this:
Matrix(3, 3, lambda i,j: Symbol('a_%d%d' % (i,j)))
--
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to
In case you can't find it in the previous post, here it is again:
Matrix(3, 3, lambda i,j: Symbol('a_%d%d' % (i,j)))
--
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this
On Mon, Feb 6, 2012 at 11:44 PM, miham tlora...@gmail.com wrote:
In case you can't find it in the previous post, here it is again:
Matrix(3, 3, lambda i,j: Symbol('a_%d%d' % (i,j)))
Very nice!
--
You received this message because you are subscribed to the Google Groups
sympy group.
To post
14 matches
Mail list logo