On Monday, 19 October 2015 07:12:46 UTC+2, Paul Royik wrote:
>
> Hello.
> I noticed that simplify moves coefficient of logarithm under logarithm:
> 2*log(5)=log(5**2)=log(25).
>
>
Are you sure it does?
I get this:
In [2]: 2*log(5)
Out[2]: 2*log(5)
In [5]: log(25)
Out[5]: log(25)
--
You
In [1]: Mul(2, log(5), evaluate=False)
Out[1]: 2*log(5)
On Monday, 19 October 2015 07:12:46 UTC+2, Paul Royik wrote:
>
> Hello.
> I noticed that simplify moves coefficient of logarithm under logarithm:
> 2*log(5)=log(5**2)=log(25).
>
> How is it possible to avoid this issue and revert if this
On Monday, 19 October 2015 07:37:12 UTC+2, Justin wrote:
>
>
> Ok, I was looking through the changes earlier (and will continue
> tomorrow). I have made two important checks thus far:
>
> 1) div(curl(A)) = 0
> 2) curl(grad(f)) = 0
>
>
Something I'd really like to see changed in the vector
>From the documentation of *.doit()*:
Evaluate objects that are not evaluated by default like limits,
> integrals, sums and products. All objects of this kind will be
> evaluated recursively, unless some species were excluded via 'hints'
> or unless the 'deep' hint was set to 'False'.
>
So I
If I have an expression with a bunch of unevaluated 'Integral', 'Sum' and
so on, what is the recommended way to apply 'doit()' on all of these in one
shot?
Cheers,
Kasper
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this
Try *factor*( )
In [1]: log(25)
Out[1]: log(25)
In [2]: factor(log(25))
Out[2]: 2*log(5)
To apply it only to logarithm expressions:
In [6]: l = log(25)
In [7]: l.replace(lambda expr: isinstance(expr, log), lambda expr: factor(
expr))
Out[7]: 2*log(5)
On Monday, 19 October 2015 11:32:34
Could you paste your expression or an example of it?
On Monday, 19 October 2015 13:36:41 UTC+2, Kasper Peeters wrote:
>
> If I have an expression with a bunch of unevaluated 'Integral', 'Sum' and
> so on, what is the recommended way to apply 'doit()' on all of these in one
> shot?
>
> Cheers,
>
simplify(2log(5)) returns log(25)
How to revert this?
On Monday, October 19, 2015 at 10:35:45 AM UTC+3, Francesco Bonazzi wrote:
>
>
>
> On Monday, 19 October 2015 07:12:46 UTC+2, Paul Royik wrote:
>>
>> Hello.
>> I noticed that simplify moves coefficient of logarithm under logarithm:
>>
Hello all,
I am a 2nd year computer Science student at IIIT-Hyderabad.
As being a beginner i have some idea about python and want to start
contributing to open source.
I found the sympy quite interesting with respect to usage and
implementation of mathematical functions for complex
On Saturday, October 17, 2015 at 8:49:28 PM UTC+2, Francesco Bonazzi wrote:
>
>
>
> On Saturday, 17 October 2015 17:52:38 UTC+2, Imran Ali wrote:
>
>>
>> But this result does not correspond to the hand calculations of Thomas
>> Moore :
>>
>>
> Do you know that unlike matrices tensors don't have
On Mon, Oct 19, 2015 at 7:59 AM, Imran Ali wrote:
>
>
> On Saturday, October 17, 2015 at 8:49:28 PM UTC+2, Francesco Bonazzi wrote:
>>
>>
>>
>> On Saturday, 17 October 2015 17:52:38 UTC+2, Imran Ali wrote:
>>>
>>>
>>> But this result does not correspond to the hand
For me they both give Piecewise results in SymPy 0.7.6.1.
Aaron Meurer
On Sun, Oct 18, 2015 at 10:21 PM, Bill McLean wrote:
> This behaviour seems strange. The case k=0 is handled correctly when
> integrating cos(k*x), but not cos(k*pi*x).
>
> In [1]:
I think this is an instance of this bug
https://github.com/sympy/sympy/issues/9791.
Aaron Meurer
On Mon, Jun 8, 2015 at 10:36 AM, TIANJIAO SUN
wrote:
> Hi,
> For expressive reasons, in some applications I name my symbols as
> IndexedBased, but really I want to
We should eventually merge this:
https://github.com/sympy/sympy/pull/9112
The TensorArray object is a multi-dimensional array with valence markings.
It could be linked to the differential geometry module, to replace lists of
lists of lists of lists.
On Monday, 19 October 2015 16:31:37 UTC+2,
OK. I should have mentioned that I am running SymPy 0.7.4.1.
--
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
Looks like it's a bug that's been fixed since then. I recommend
upgrading if you can.
For reference, integrate() uses several different integration
algorithms, so you can end up getting different looking results
depending on which algorithm ends up being used (even in the latest
version). I
Thank you very much.
It works!
On Monday, October 19, 2015 at 3:05:20 PM UTC+3, Francesco Bonazzi wrote:
>
> Try *factor*( )
>
> In [1]: log(25)
> Out[1]: log(25)
>
> In [2]: factor(log(25))
> Out[2]: 2*log(5)
>
>
>
> To apply it only to logarithm expressions:
>
> In [6]: l = log(25)
>
> In [7]:
17 matches
Mail list logo