Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- AS 3600 public comment draft and py_RC Design
- The history of the theory of beam bending - Part 1
- Downloads
- Reinforced concrete elastic analysis; Circular section
- Biaxial bending update
- Reinforced Concrete Section Analysis - 5; Ultimate Limit State
- The history of the theory of beam bending - Part 3
- Monte Carlo simulation with Excel and Python
- Using LINEST for non-linear curve fitting
- The Conjugate Beam Method
Recent Comments
Category Archives: Arrays
Transfer of arrays to/from Python with Pyxll – Part1; Data Types
This post will look at options for transferring arrays between Excel and Python using Pyxll, including data types, and problems associated with transferring mixed data types. In the following post I will look at the relative performance of the various … Continue reading
Posted in Arrays, Excel, Link to Python, VBA
Tagged Data types, Excel, Python, PyXLL, VBA
2 Comments
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
Two MaxAbs functions
Excel does not have a built-in function to find the maximum absolute value of a range, perhaps because the Max() and Abs() functions can be combined in an array function: =Max(Abs(datarange)) This solution has a number of drawbacks however: The … Continue reading
Posted in Arrays, Excel, Maths, Newton, UDFs, VBA
Tagged Excel, MaxAbs function, maximum absolute value, UDF, VBA
9 Comments
Solving Quadratic, Cubic, Quartic and higher order equations; examples
A previous post presented a spreadsheet with functions for solving cubic and quartic equations, and this has been extended with another function solving higher order polynomials. The functions are actually very easy to use, but the documentation in the spreadsheets is quite brief, … Continue reading
Posted in Arrays, Excel, Link to Python, Maths, Newton, UDFs, VBA
Tagged Cubic, Excel, Higher order polynomials, Jenkins-Traub, Python, Quadratic, Quartic, solving polynomials, UDF, VBA
13 Comments
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