2021-02-02 11:30:19 +0100 | received badge | ● Popular Question (source) |

2020-07-05 10:02:22 +0100 | asked a question | Syntax Highlight in JupyterLab Editor Is there a way to have JupyterLab's editor highlight syntax in '.sage' files? (I'm using the version of JupyterLab installed from Sage itself.) |

2020-02-26 23:02:37 +0100 | commented answer | Performance Question Ah, of course! Thanks for pointing that out (and sorry I missed it). |

2020-02-26 23:01:42 +0100 | received badge | ● Supporter (source) |

2020-02-26 00:10:30 +0100 | commented question | Performance Question I tried with Then computed (as above) the order of |

2020-02-25 16:42:29 +0100 | commented question | Performance Question I tried on unit groups of some Zmod(m)'s. |

2020-02-25 15:07:17 +0100 | asked a question | Performance Question I asked my students to write a function to check the order of an element in a multiplicative group. Most wrote something like: I told them that this was wasteful, as it computes powers in every iteration, and suggested: On the other hand, when testing both, they run in practically the same amount of time. My question is how is that so? The second function only performs one multiplication in the group per loop, while the first I assume computes powers in every iteration. Does Sage/Python cache the powers? Any insight would be greatly appreciated. |

2018-08-22 17:51:51 +0100 | commented question | LaTeX shortcuts in iPython Notebook No, it does not work. (Assuming you run that command in a cell or load it from a file.) But thanks for the suggestion! |

2018-08-21 23:28:16 +0100 | received badge | ● Student (source) |

2018-08-21 23:26:25 +0100 | asked a question | LaTeX shortcuts in iPython Notebook Is there a way to load a file containing many LaTeX shortcuts (like Or is it possible to add to a (hopefully hidden) cell? If so, what would be the syntax? |

2018-08-21 23:26:24 +0100 | asked a question | Loading LaTeX shotcuts in a iPython Notebook Is it possible to load a file containing many LaTeX shotcuts (like Thanks! |

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.