Re: [sympy] Re: Autolev Parser

2018-05-01 Thread Jason Moore
Nikhil,

This might be helpful:
http://www2.mae.ufl.edu/~fregly/PDFs/autolev_tutorial.pdf

moorepants.info
+01 530-601-9791

On Tue, May 1, 2018 at 6:03 PM, Jason Moore  wrote:

> Nikhil,
>
> I'm going to see if I can scan my copy of the book and I'll send it to
> you. I'll try Thursday or Friday this week.
>
> I will also see if I can get you a copy of Autolev 4.1 educational
> version. It only runs on windows or via wine on linux.
>
> Jason
>
> moorepants.info
> +01 530-601-9791
>
> On Tue, May 1, 2018 at 3:11 AM, Nikhil Pappu  wrote:
>
>> The book 'DynamicsOnline: Theory and Implementation with Autolev' would
>> be very helpful to me.
>> I looked up the contents and it seems to cover Dynamics, the Kane's
>> method and the implementation part using Autolev.
>> It would be great if I can get a copy of it soon.
>>
>> I am still not clear about running Autolev.
>> Should I purchase the student license for MotionGenesis or will Jason
>> just exchange the test cases and outputs with me throughout the project?
>>
>> Nikhil
>>
>>
>> On Tuesday, May 1, 2018 at 3:35:10 PM UTC+5:30, Nikhil Pappu wrote:
>>>
>>> Community Bonding Period Plan:
>>>
>>> I will get started on May 5th and work on these prerequisites until May
>>> 14th.
>>>
>>> 1. Community Bonding:
>>> - Interact with the community
>>> - Get started with the blog (check out Planet SymPy)
>>>
>>> 2. Autolev and Kane's Method:
>>> - Review the Autolev tutorial
>>> - Read DynamicsOnline: Theory and Implementation with Autolev
>>>
>>> 3. ANTLR:
>>> - Review The Definitive ANTLR Reference
>>> - Set up the work environment
>>>
>>> 4. SymPy and PyDy:
>>> - Go over the SymPy mechanics module (guide + documentation + code)
>>> - Go over the PyDy Documentation
>>> - Go over the SymPy and PyDy examples and models
>>> - Go over the Bicycle and Human Body examples
>>>
>>> 5.  Benchmarking:
>>>  - Figure out how to run Autolev code
>>>  - Check out the dynamics benchmarking website
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to sympy+unsubscr...@googlegroups.com.
>> To post to this group, send email to sympy@googlegroups.com.
>> Visit this group at https://groups.google.com/group/sympy.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/sympy/67b109aa-8d7a-4078-abee-50f376e3328d%40googlegroups.com
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAP7f1AiQP%3DJ6Pp62YHbu1PHSqj5MKVw8kVC4%3D4aKtY9AFqikLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] Re: Autolev Parser

2018-05-01 Thread Jason Moore
Nikhil,

I'm going to see if I can scan my copy of the book and I'll send it to you.
I'll try Thursday or Friday this week.

I will also see if I can get you a copy of Autolev 4.1 educational version.
It only runs on windows or via wine on linux.

Jason

moorepants.info
+01 530-601-9791

On Tue, May 1, 2018 at 3:11 AM, Nikhil Pappu  wrote:

> The book 'DynamicsOnline: Theory and Implementation with Autolev' would be
> very helpful to me.
> I looked up the contents and it seems to cover Dynamics, the Kane's method
> and the implementation part using Autolev.
> It would be great if I can get a copy of it soon.
>
> I am still not clear about running Autolev.
> Should I purchase the student license for MotionGenesis or will Jason just
> exchange the test cases and outputs with me throughout the project?
>
> Nikhil
>
>
> On Tuesday, May 1, 2018 at 3:35:10 PM UTC+5:30, Nikhil Pappu wrote:
>>
>> Community Bonding Period Plan:
>>
>> I will get started on May 5th and work on these prerequisites until May
>> 14th.
>>
>> 1. Community Bonding:
>> - Interact with the community
>> - Get started with the blog (check out Planet SymPy)
>>
>> 2. Autolev and Kane's Method:
>> - Review the Autolev tutorial
>> - Read DynamicsOnline: Theory and Implementation with Autolev
>>
>> 3. ANTLR:
>> - Review The Definitive ANTLR Reference
>> - Set up the work environment
>>
>> 4. SymPy and PyDy:
>> - Go over the SymPy mechanics module (guide + documentation + code)
>> - Go over the PyDy Documentation
>> - Go over the SymPy and PyDy examples and models
>> - Go over the Bicycle and Human Body examples
>>
>> 5.  Benchmarking:
>>  - Figure out how to run Autolev code
>>  - Check out the dynamics benchmarking website
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sympy/67b109aa-8d7a-4078-abee-50f376e3328d%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAP7f1AjGFa_RE8y_gqijrvezt4Q5NhChUb7d-s0XTmAcedLXRw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] Introduction

2018-05-01 Thread Jason Moore
You can also check out this document to get started:
https://github.com/sympy/sympy/wiki/introduction-to-contributing

moorepants.info
+01 530-601-9791

On Tue, May 1, 2018 at 3:43 AM,  wrote:

> Hi all,
>
> I'm Caley Finn.  I'm a postdoc, working in mathematical physics at the
> University of Melbourne.  I've started using SymPy a bit in my research,
> and would like to start contributing in order to learn more about it.  I
> also have a programming background, and a bit of Python experience, but not
> on a project this big.
>
> I'll start by looking at the "Easy to fix" issues list, to see if there
> are some I can help out on.
>
> Cheers,
>
> Caley
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/sympy/2d72e69f-0867-4401-8bd4-c01c22b371ae%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAP7f1Ag3SUrFmQ_R6Eos-BMeteQR8N8sEHowVSjQz6p9WqV1RQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[sympy] Pattern matching possibly empty function arguments

2018-05-01 Thread James Stankowicz
Is there a way to write a replacement rule for a function f with an 
arbitrary number of arguments that makes it linear in all its arguments?
An example for when f has three arguments:

1) f( x1+x4 , x2 , x3 ) = f(x4,x2,x3) + f(x1,x2,x3)
2) f( x1 , x2+x4 , x3 ) = f(x1,x2,x3) + f(x1,x4,x3)
3) f( x1 , x2 , x3+x4 ) = f(x1,x2,x3) + f(x1,x2,x4)

Using "Wild" works partially:

from sympy import *
f=Function('f')
var("x1:5")
a=Wild("a")
b=Wild("b")
A=Wild('A', exclude=[0])
B=Wild('B', exclude=[0])
expr=f(x1,x2+x4,x3);
print("This one works")
print expr , '->' , expr.replace(f(a,Add(A,B),b),f(a,A,b)+f(a,B,b))
print("This one doesn't on the last entry")
expr=f(x1,x2,x3+x4);
print f(x1,x2,x3+x4) , '->' , expr.replace(f(a,Add(A,B),b),f(a,A,b)+f(a,B,b
))

I know I could iterate in a variety of ways over the arguments of the 
function while altering the replacement, but I was hoping the functionality 
was built into "Wild" or "replace" already. Mathematica, for example, has 
"wildcards" like "a___,b___,A___,B___" which mean that "a___" could be an 
empty sequence, or  a single argument, or a sequence of multiple arguments. 
Is there something similar, or is this is close as sympy gets?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/85b5fffd-2fff-4b0a-a7e8-4a81a9d90d57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] Introduction

2018-05-01 Thread Aaron Meurer
Hi Caley and welcome.

Let us know if you have any issues, either here or on the Gitter
channel. https://gitter.im/sympy/sympy

Aaron Meurer

On Tue, May 1, 2018 at 6:43 AM,   wrote:
> Hi all,
>
> I'm Caley Finn.  I'm a postdoc, working in mathematical physics at the
> University of Melbourne.  I've started using SymPy a bit in my research, and
> would like to start contributing in order to learn more about it.  I also
> have a programming background, and a bit of Python experience, but not on a
> project this big.
>
> I'll start by looking at the "Easy to fix" issues list, to see if there are
> some I can help out on.
>
> Cheers,
>
> Caley
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com.
> To post to this group, send email to sympy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/2d72e69f-0867-4401-8bd4-c01c22b371ae%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6KbOrN2fWZUfuo_GjgVqvTrervoD%3DDmiB-5vOu7e8cG-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[sympy] Introduction

2018-05-01 Thread caleyreuben
Hi all,

I'm Caley Finn.  I'm a postdoc, working in mathematical physics at the 
University of Melbourne.  I've started using SymPy a bit in my research, 
and would like to start contributing in order to learn more about it.  I 
also have a programming background, and a bit of Python experience, but not 
on a project this big.

I'll start by looking at the "Easy to fix" issues list, to see if there are 
some I can help out on.

Cheers,

Caley

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/2d72e69f-0867-4401-8bd4-c01c22b371ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [sympy] Broken link at the website

2018-05-01 Thread PepeElMago33
Thank you so much for your answer, I am going to open an issue 

El lunes, 30 de abril de 2018, 21:46:56 (UTC+2), Nathan Goldbaum escribió:
>
> Would you mind submitting a pull request for the fix?
>
> https://github.com/sympy/sympy/blame/master/doc/src/gotchas.rst#L23
>
> If you're unfamiliar with git and GitHub, then I'd open an issue:
>
> https://github.com/sympy/sympy/issues/new
>
> These things tend to get forgotten about unless someone adds a note on 
> GitHub.
>
> -Nathan
>
> On Mon, Apr 30, 2018 at 3:42 PM PepeElMago33  > wrote:
>
>> I was reading this  page
>> And the link of the 4 minute Python tutorial is broken. The current link 
>> is 
>> https://nerdparadise.com/tech/python/4minutecrashcourse/
>> but It has been moved to 
>> https://nerdparadise.com/programming/python4minutes
>> maybe the website admin can change it.
>>
>> That is all, thanks to all the people who has worked on this project, I 
>> am very suprised of your work :)
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sympy" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to sympy+un...@googlegroups.com .
>> To post to this group, send email to sy...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/sympy.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sympy/e0a6ec82-f948-4e1b-aff0-d2d3e112a1d8%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/2e507da9-2f68-4c77-a898-6b153f98875f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[sympy] Re: Autolev Parser

2018-05-01 Thread Nikhil Pappu
The book 'DynamicsOnline: Theory and Implementation with Autolev' would be 
very helpful to me.
I looked up the contents and it seems to cover Dynamics, the Kane's method 
and the implementation part using Autolev.
It would be great if I can get a copy of it soon.

I am still not clear about running Autolev.
Should I purchase the student license for MotionGenesis or will Jason just 
exchange the test cases and outputs with me throughout the project?

Nikhil

On Tuesday, May 1, 2018 at 3:35:10 PM UTC+5:30, Nikhil Pappu wrote:
>
> Community Bonding Period Plan:
>
> I will get started on May 5th and work on these prerequisites until May 
> 14th.
>
> 1. Community Bonding:
> - Interact with the community
> - Get started with the blog (check out Planet SymPy)
>
> 2. Autolev and Kane's Method:
> - Review the Autolev tutorial
> - Read DynamicsOnline: Theory and Implementation with Autolev
>
> 3. ANTLR:
> - Review The Definitive ANTLR Reference
> - Set up the work environment
>
> 4. SymPy and PyDy:
> - Go over the SymPy mechanics module (guide + documentation + code)
> - Go over the PyDy Documentation
> - Go over the SymPy and PyDy examples and models
> - Go over the Bicycle and Human Body examples
>
> 5.  Benchmarking:
>  - Figure out how to run Autolev code
>  - Check out the dynamics benchmarking website
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/67b109aa-8d7a-4078-abee-50f376e3328d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[sympy] Autolev Parser

2018-05-01 Thread Nikhil Pappu
Community Bonding Period Plan:

I will get started on May 5th and work on these prerequisites until May 
14th.

1. Community Bonding:
- Interact with the community
- Get started with the blog (check out Planet SymPy)

2. Autolev and Kane's Method:
- Review the Autolev tutorial
- Read DynamicsOnline: Theory and Implementation with Autolev

3. ANTLR:
- Review The Definitive ANTLR Reference
- Set up the work environment

4. SymPy and PyDy:
- Go over the SymPy mechanics module (guide + documentation + code)
- Go over the PyDy Documentation
- Go over the SymPy and PyDy examples and models
- Go over the Bicycle and Human Body examples

5.  Benchmarking:
 - Figure out how to run Autolev code
 - Check out the dynamics benchmarking website

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/91b7c74a-5e53-4233-9c1a-4153be4841d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.