Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- Using LINEST for non-linear curve fitting
- 3DFrame Ver 1.03 and Frame4 Ver 3.07
- Cubic Splines
- Downloads
- About Newton Excel Bach
- XLDennis, the MSDN Library, and VBA rant
- Frame Analysis with Excel – 7; Shear deflections and support displacements
- Daily Download 4: Continuous Beam Analysis
- Filling Blanks with Go To-Special (and local help rant)
- Writing Arrays to the worksheet - VBA function
Recent Comments
Category Archives: NumPy and SciPy
Transfer of arrays to/from Python with Pyxll – Part 2; Speed
Following the previous post, which looked at the way different data types worked when transferring data between Excel and Python, this post looks at ways t0 get the best performance. As a benchmark I have used a short routine that: … Continue reading
Posted in Arrays, Excel, Link to Python, NumPy and SciPy, VBA
Tagged Excel, improving performance, Numba, Python, PyXLL, transferring data, VBA
1 Comment
The angle between two vectors, Python version
I posted a VBA function to return The angle between two vectors, in 2D or 3D last year, and have just discovered that Python and Numpy are lacking this function. Since all the suggested code I found in a quick search used: Cos θ … Continue reading
Posted in Coordinate Geometry, Excel, Link to Python, Maths, Newton, NumPy and SciPy
Tagged angle between two vectors, Numpy, Python, PyXLL
10 Comments
New Links: Scientific Python and Engineering Excel
The previous post had a link to Cyrille Rossant which is worth a closer look. The blog has many detailed posts on scientific applications of Python, as well as links to Galry: a high performance interactive visualization package in Python and his … Continue reading
Posted in Excel, Link to Python, Newton, NumPy and SciPy, VBA
Tagged Cyrille Rossant, Engineering spreadsheets, links, Python, Spreadsheets 4 Simulation
Leave a comment
The speed of loops in Python
This post is based on exercises published by Cyrille Rossant in his book “Learning IPython for Interactive Computing and Data Visualization”. Cyril also has a blog well worth looking at: http://cyrille.rossant.net/blog/ (Thanks to Alfred Vachris and Boris Vishnevsky for the links). … Continue reading
Posted in Arrays, Link to Python, NumPy and SciPy
Tagged IPython, Numpy, Pylab, Python, working with arrays
Leave a comment
Python for VBA users- 7; Making Python go Faster
As reported in the previous post in this series, although the compiled routines included in packages such as Numpy, Scipy, and Pysparse are very fast, other parts of the code turned out to be slower than the equivalent in VBA. … Continue reading
Posted in Arrays, Excel, Finite Element Analysis, Frame Analysis, Link to Python, Newton, NumPy and SciPy, UDFs, VBA
Tagged Excel, Frame Analysis, PYsparse, Python, sparse matrices. Numba, VBA
Leave a comment