ojensen.wordpress.com
Fast ufunc-ish Hydrogen solutions | Jensen's Sympy Blog
https://ojensen.wordpress.com/2010/08/10/fast-ufunc-ish-hydrogen-solutions
Jensen's Sympy Blog. Python, SymPy and Quantum Physics. Good news, everyone! Fast ufunc-ish Hydrogen solutions. August 10, 2010. In my previous post I demonstrated array operations based on the new functionality I have implemented during my GSOC project. In this post I will discuss another feature that is essential for array calculations in a computer algebra system: The initialization of numeric arrays. Based on symbolic math expressions. On the real axis:. In [14]: %timeit np.linspace(0, 5, 100000)...
ojensen.wordpress.com
Reliable and testable C code | Jensen's Sympy Blog
https://ojensen.wordpress.com/2010/08/02/reliable-and-testable-c-code
Jensen's Sympy Blog. Python, SymPy and Quantum Physics. Good news, everyone! Reliable and testable C code. August 2, 2010. I put up these improvements for review. And got valuable feedback that I spent the rest of the time implementing. In addition, I have addressed Ronan’s comments to my last blog post, and this has lead to stylistic improvements:. The code printer takes care of introducing and initialization of accumulator variables if needed, not the codegen module as previaously. The initializati...
ojensen.wordpress.com
Making things testable | Jensen's Sympy Blog
https://ojensen.wordpress.com/2010/07/22/making-things-testable
Jensen's Sympy Blog. Python, SymPy and Quantum Physics. Fortran codegen is in. Reliable and testable C code →. July 22, 2010. The principal weakness of the Fortran code generator is that the support of array arguments has only limited testability. It is currently testable only on two levels:. 1) The properties and behavior of IndexedElement instances,. 2) The output from the Fortran code generator. 3) The contraction structure of indexed expressions and the algorithms used to analyze the expressions.
ojensen.wordpress.com
July | 2010 | Jensen's Sympy Blog
https://ojensen.wordpress.com/2010/07
Jensen's Sympy Blog. Python, SymPy and Quantum Physics. Monthly Archives: July 2010. July 22, 2010. As I mentioned in my previous post, I did not want to implement array arguments for the C code generator by simply taking the same route as I did with the Fortran generator. In hindsight it was clear that I … Continue reading →. Fortran codegen is in. July 15, 2010. Incremental improvements, autowrap and reviewing Hilbert spaces. July 5, 2010. Fast ufunc-ish Hydrogen solutions. Good news, everyone!
ojensen.wordpress.com
jegerjensen | Jensen's Sympy Blog
https://ojensen.wordpress.com/author/jegerjensen
Jensen's Sympy Blog. Python, SymPy and Quantum Physics. Fast ufunc-ish Hydrogen solutions. August 10, 2010. In my previous post I demonstrated array operations based on the new functionality I have implemented during my GSOC project. In this post I will discuss another feature that is essential for array calculations in a computer algebra system: The … Continue reading →. Good news, everyone! August 8, 2010. Reliable and testable C code. August 2, 2010. July 22, 2010. Fortran codegen is in. July 15, 2010.
ojensen.wordpress.com
Good news, everyone! | Jensen's Sympy Blog
https://ojensen.wordpress.com/2010/08/08/good-news-everyone
Jensen's Sympy Blog. Python, SymPy and Quantum Physics. Reliable and testable C code. Fast ufunc-ish Hydrogen solutions →. Good news, everyone! August 8, 2010. This week has been hectic, but also very fruitful. I have the functionality I set out for, it works and it is fast! I’ve been hacking on the automatic wrapping of binary routines, refactored the code printers, implemented handling of indexed powers, enabled scalar broadcasting and ufunc. The latest code is here. In an earlier blog post, I showed y...
ojensen.wordpress.com
Refactoring and reading | Jensen's Sympy Blog
https://ojensen.wordpress.com/2010/06/24/refactoring-and-reading
Jensen's Sympy Blog. Python, SymPy and Quantum Physics. Incremental improvements, autowrap and reviewing Hilbert spaces →. June 24, 2010. Fixing array arguments and refactoring codegen. The goal with the refactoring was to make the data structures representing abstract code a bit more object oriented. For instance, the Routine class that represents a general routine in any programming language, was previously used just like a struct. By placing the code that interprets math expressions in the init () met...
ojensen.wordpress.com
August | 2010 | Jensen's Sympy Blog
https://ojensen.wordpress.com/2010/08
Jensen's Sympy Blog. Python, SymPy and Quantum Physics. Monthly Archives: August 2010. Fast ufunc-ish Hydrogen solutions. August 10, 2010. In my previous post I demonstrated array operations based on the new functionality I have implemented during my GSOC project. In this post I will discuss another feature that is essential for array calculations in a computer algebra system: The … Continue reading →. Good news, everyone! August 8, 2010. Reliable and testable C code. August 2, 2010. Good news, everyone!
ojensen.wordpress.com
Jensen's Sympy Blog | Python, SymPy and Quantum Physics | Page 2
https://ojensen.wordpress.com/page/2
Jensen's Sympy Blog. Python, SymPy and Quantum Physics. Newer posts →. June 15, 2010. I came across a document with lots of tips for efficient Python programming. June 15, 2010. I started last week by setting up a page on the wiki. Over the weekend I managed to implement. Array argument handling in the fortran code printer, and FCodeGen, but I have not yet tested how the code compiles. This week hope to get the fortran to compile and also to implement everything in the C code generator. Maybe I c...I am ...
ojensen.wordpress.com
June | 2010 | Jensen's Sympy Blog
https://ojensen.wordpress.com/2010/06
Jensen's Sympy Blog. Python, SymPy and Quantum Physics. Monthly Archives: June 2010. June 24, 2010. Fixing array arguments and refactoring codegen Right after finishing a first implementation of array arguments last week, and bragging about it in a blog post, I realized it had some embarrassing shortcomings: The generated code was not compilable. Luckily, this … Continue reading →. June 15, 2010. I came across a document with lots of tips for efficient Python programming. June 15, 2010. June 7, 2010.