Thanks Francesco, I was thinking it would be better if we propose Multiple 
Pattern to return the matched pattern number also, this way: 

>>> match(f(x), [f(wn1), wn2(wn1)])
{matched: 0, wn1: x}                 

Application:

type = match(Expr, [((a + b*x)**m), ((b*x)**m)])
        if type[matched] == 1:
            a = 0
        if (m == -1):
            return log(a + b*x)/b ...

On Monday, March 20, 2017 at 4:52:25 PM UTC+5:30, Francesco Bonazzi wrote:
>
>
> On Sunday, 19 March 2017 20:51:43 UTC+1, Abdullah Javed Nesar wrote:
>>
>> Hi everyone,
>>
>> I have proposed a rough draft on Rubi Integrator here 
>> <https://github.com/sympy/sympy/wiki/GSoC-2017-Application-Abdullah-Javed-Nesar:-Rubi-Integrator>.
>>  
>> This is not complete yet, I wish if anyone could suggest on its improvement 
>> or something I've missed. Much of it is referred from Francesco's proposal 
>> and  Mathematica.
>>
>
> I wrote that proposal 2-3 years ago. I think that pattern is a bit too 
> cumbersome. I will try to update the proposal as soon as possible.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/605cda5d-6a1f-49b5-86b3-7a6cc1c4032b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to