[sage-devel] Re: a small special purpose class for tensor products of symmetric functions

2019-04-09 Thread 'Martin R' via sage-devel
Thank You! However, i have already trouble initializing an element. The snippet 
above raises an error!
Martin

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Flag all doctests in a file as optional

2019-04-09 Thread Travis Scrimshaw
Hi Brent,
   IIRC, there is no such feature currently available. I believe there is 
an argument against this as some tests could be marked as usual Sage and 
should be run normally without the optional package installed. Although I 
am +1 for having such a feature as in the "typical" case, an optional 
package file should almost always contain doctests marked for that package.

Best,
Travis


On Wednesday, April 10, 2019 at 3:58:41 AM UTC+10, Brent W. Baccala wrote:
>
> Hi -
>
> I'm working on an optional package (kash) that mostly used in a single 
> Sage .py file, and I'd like to flag all of the doctests in the file as "# 
> optional kash".
>
> Is there any way to do this without actually flagging all of the 
> individual doctests?
>
> Thanks.
>
> agape
> brent
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Black hole image computed with Sage

2019-04-09 Thread Travis Scrimshaw


> Very cool! Thank you for pointing it out. 
>
> +1

 

> On Tue, Apr 9, 2019 at 11:22 AM Eric Gourgoulhon  > wrote: 
> > 
> > Hi All, 
> > 
> > As you may have heard in the news, the Event Horizon Telescope 
> collaboration will release tomorrow the very first observed image of the 
> close vicinity of a black hole: 
> > 
> https://eventhorizontelescope.org/blog/media-advisory-first-results-event-horizon-telescope-be-presented-april-10th
>  
> > 
> > In connection with this event, you may find a simulated black hole 
> image, entirely computed with SageMath by Florentin Jaffredo, at 
> > https://sagemanifolds.obspm.fr/gallery.html 
> > The Jupyter notebook generating the image is 
> > 
> https://nbviewer.jupyter.org/github/sagemanifolds/SageManifolds/blob/master/Notebooks/SM_black_hole_rendering.ipynb
>  
> > 
> > The computation relies on the integration of lightlike geodesics in a 
> Lorentzian manifold that has been implemented in SageMath by Karim Van 
> Aeslt and Florentin Jaffredo: 
> > 
> http://doc.sagemath.org/html/en/reference/manifolds/sage/manifolds/differentiable/integrated_curve.html
>  
> > 
> > As a side note, the notebook runs well with both Python2 and Python3 
> versions of SageMath (>= 8.5). 
> > 
> > Best wishes, 
> > 
> > Eric. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "sage-devel" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to sage-...@googlegroups.com . 
> > To post to this group, send email to sage-...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/sage-devel. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: a small special purpose class for tensor products of symmetric functions

2019-04-09 Thread Travis Scrimshaw


On Tuesday, April 9, 2019 at 2:34:38 PM UTC+10, Martin R wrote:
>
> Dear Travis!
>
> Thank you for the hint!  I got a bit further, but I'm still stuck.  Here 
> is a minimal non-working example.
>
> I suspect that the problem is my not understanding of the hint in 
> IndexedFreeModuleElement.__init__:
>
> ---
> """
> Create a combinatorial module element. This should never be
> called directly, but only through the parent combinatorial
> free module's :meth:`__call__` method.
> ---
>
> That is a complete red herring. Basically it is saying you should always 
construct elements by P(foo), where P is the parent object, not by 
ElementClass(P, foo). What you need to do is add a __call__ method to 
TwoPositionsElement to redirect to (or be an alias for) the plethysm method.

Best,
Travis

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Characteristic classes on manifolds

2019-04-09 Thread Travis Scrimshaw
Hi Michael,
   Yep, basically, and then answer anything the reviewer(s) come up with.

Best,
Travis


On Tuesday, April 9, 2019 at 1:14:13 AM UTC+10, Michael Jung wrote:
>
> Hello,
>
> I changed the status to "needs_review" since the doctests are now 
> complete. :)
>
> What are the next steps? Lean back and sip tea?
>
> Regards,
> Michael
> Am 06.04.19 um 18:54 schrieb Michael Jung:
>
> I added a link to a demo notebook in the description of the ticket.
>
> Furthermore, I've encountered another unnice issue (see ticket comments). 
> I'd appreciate when someone knows how to fix it.
>
> Best regards
> Michael
>
> Am Mittwoch, 3. April 2019 17:42:34 UTC+2 schrieb Michael Jung: 
>>
>> Thank you! I fixed it right away and commited a sage compilable version. 
>> Moreover, I added a jupyter example file (in german).
>>
>> Best regards
>> Michael 
>>
>>
>>  Originalnachricht 
>> Betreff: Re: [sage-devel] Re: Characteristic classes on manifolds
>> Von: Eric Gourgoulhon 
>> An: sage-devel 
>> Cc: 
>>
>>
>> Le mercredi 3 avril 2019 13:38:17 UTC+2, Michael Jung a écrit : 
>>>
>>> Okay, the code has been uploaded. :) 
>>>
>>>
>> Thanks!
>> I found the reason. I am answering on the ticket.
>>
>> Eric. 
>> -- 
>>
>> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/sage-devel/hwsQWuLN0nc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> sage-...@googlegroups.com .
> To post to this group, send email to sage-...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] matrix equality and assumptions

2019-04-09 Thread Bill Page
Thanks.

On Tue, Apr 9, 2019 at 10:41 AM Jeroen Demeyer  wrote:
>
> On 2019-04-09 16:29, Bill Page wrote:
> > Is this a known problem?
>
> Now it is: https://trac.sagemath.org/ticket/27629
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] matrix equality and assumptions

2019-04-09 Thread Jeroen Demeyer

On 2019-04-09 16:29, Bill Page wrote:

Is this a known problem?


Now it is: https://trac.sagemath.org/ticket/27629

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] matrix equality and assumptions

2019-04-09 Thread Bill Page
Is this a known problem?
--
sage: sage.version.version
'8.6'
sage: assume(x,'real')
sage: assumptions()
[x is real]
sage: e1=matrix([[0,-x],[x,0]]); e1
[ 0 -x]
[ x  0]
sage: e2=transpose(e1);e2
[ 0  x]
[-x  0]
sage: e1==e2
True
sage: e1-e2
[   0 -2*x]
[ 2*x0]
sage: e1-e2==0
True
--
sage: forget(x,'real')
sage: e1=matrix([[0,-x],[x,0]]); e1
[ 0 -x]
[ x  0]
sage: e2=transpose(e1);e2
[ 0  x]
[-x  0]
sage: e1==e2
False
sage: e1-e2
[   0 -2*x]
[ 2*x0]
sage: e1-e2==0
False
--
sage: assume(x,'integer')
sage: assumptions()
[x is integer]
sage: e1=matrix([[0,-x],[x,0]]); e1
[ 0 -x]
[ x  0]
sage: e2=transpose(e1);e2
[ 0  x]
[-x  0]
sage: e1==e2
True
--

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Black hole image computed with Sage

2019-04-09 Thread Michael Orlitzky
On 4/9/19 5:22 AM, Eric Gourgoulhon wrote:
> Hi All,
> 
> As you may have heard in the news, the Event Horizon Telescope
> collaboration will release tomorrow the very first observed image of the
> close vicinity of a black hole:
> https://eventhorizontelescope.org/blog/media-advisory-first-results-event-horizon-telescope-be-presented-april-10th
> 

They should re-post that to social media... I'm pretty sure everyone
else ignored the "photo of a black hole" announcement on April 1st just
like I did.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Black hole image computed with Sage

2019-04-09 Thread E. Madison Bray
Very cool! Thank you for pointing it out.

On Tue, Apr 9, 2019 at 11:22 AM Eric Gourgoulhon  wrote:
>
> Hi All,
>
> As you may have heard in the news, the Event Horizon Telescope collaboration 
> will release tomorrow the very first observed image of the close vicinity of 
> a black hole:
> https://eventhorizontelescope.org/blog/media-advisory-first-results-event-horizon-telescope-be-presented-april-10th
>
> In connection with this event, you may find a simulated black hole image, 
> entirely computed with SageMath by Florentin Jaffredo, at
> https://sagemanifolds.obspm.fr/gallery.html
> The Jupyter notebook generating the image is
> https://nbviewer.jupyter.org/github/sagemanifolds/SageManifolds/blob/master/Notebooks/SM_black_hole_rendering.ipynb
>
> The computation relies on the integration of lightlike geodesics in a 
> Lorentzian manifold that has been implemented in SageMath by Karim Van Aeslt 
> and Florentin Jaffredo:
> http://doc.sagemath.org/html/en/reference/manifolds/sage/manifolds/differentiable/integrated_curve.html
>
> As a side note, the notebook runs well with both Python2 and Python3 versions 
> of SageMath (>= 8.5).
>
> Best wishes,
>
> Eric.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Cernay 2019: math software developers workshop: Sage, GAP, ...

2019-04-09 Thread Nicolas M. Thiery


Just a brief heads up: the workshop will be held June 17th-21st. As
usual, the premises will be rented Saturday-Saturday, so you are
welcome to arrive early, leave late.

I will send an official statement soon, once the web page will be up.

Cheers,
Nicolas

On Sat, Mar 16, 2019 at 02:08:42PM +0100, Nicolas M. Thiery wrote:
> Hello,
> 
> I am planning to organize this Spring one of our regular math software
> developers workshop in Cernay (near Paris), in the the spirit of our
> previous ones, including:
> 
> - Sage Days 77: Sage developer days on packaging, portability, documentation 
> tools (2016)
>   https://wiki.sagemath.org/days77
>   Sage & GAP days 85: packaging, portability, documentation tools (2017)
> - https://wiki.sagemath.org/days85
> - Workshop on interfacing (math) software with low level libraries (2018)
>   https://github.com/OpenDreamKit/OpenDreamKit/issues/251
> 
> Themes will include packaging, portability, interfaces between
> systems; more themes and projects are welcome; please edit the page:
> 
> https://hackmd.io/j5FzB173Q4uaExUw-6Glpg
> 
> If you are tentatively interested in participating, please fill in the
> date poll before March 21st (next Thursday):
> 
> https://framadate.org/EemimQr2YPZJlNnx
> 
> Please forward to the relevant mailing lists (GAP, Oscar, Pari/GP,
> Singular, Polymake, ...) or people.
> 
> Once the date is fixed, I'll send an official announcement.
> 
> Cheers,
>   Nicolas
> --
> Nicolas M. Thiéry "Isil" 
> http://Nicolas.Thiery.name/
Nicolas
--
Nicolas M. Thiéry "Isil" 
http://Nicolas.Thiery.name/

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Black hole image computed with Sage

2019-04-09 Thread Eric Gourgoulhon
Hi All, 

As you may have heard in the news, the Event Horizon Telescope 
collaboration will release tomorrow the very first observed image of the 
close vicinity of a black hole:
https://eventhorizontelescope.org/blog/media-advisory-first-results-event-horizon-telescope-be-presented-april-10th

In connection with this event, you may find a simulated black hole image, 
entirely computed with SageMath by Florentin Jaffredo, at
https://sagemanifolds.obspm.fr/gallery.html
The Jupyter notebook generating the image is
https://nbviewer.jupyter.org/github/sagemanifolds/SageManifolds/blob/master/Notebooks/SM_black_hole_rendering.ipynb

The computation relies on the integration of lightlike geodesics in a 
Lorentzian manifold that has been implemented in SageMath by Karim Van 
Aeslt and Florentin Jaffredo:
http://doc.sagemath.org/html/en/reference/manifolds/sage/manifolds/differentiable/integrated_curve.html

As a side note, the notebook runs well with both Python2 and Python3 
versions of SageMath (>= 8.5).

Best wishes,

Eric.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.