Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- Using LINEST for non-linear curve fitting
- Cubic Splines
- 3DFrame Ver 1.03 and Frame4 Ver 3.07
- About Newton Excel Bach
- XLDennis, the MSDN Library, and VBA rant
- Filling Blanks with Go To-Special (and local help rant)
- Downloads
- Linking Excel to C - 2
- Writing Arrays to the worksheet - VBA function
- Daily Download 4: Continuous Beam Analysis
Recent Comments
Tag Archives: PyXLL
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
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
Global to Local for plates (and three node beams)
The Glob_to_Loc function (see Converting from global to local coordinates (and vice versa) ) converts forces and deflections of a beam from the global coordinate system to the local system, defined by the longitudinal axis of the beam and a rotation angle … Continue reading
Posted in Coordinate Geometry, Excel, Finite Element Analysis, Frame Analysis, Link to Python, Maths, Newton, Strand7, UDFs, VBA
Tagged Excel, Glob_to_Loc3, IP2.xls, Loc_to_Glob3, Python, PyXLL, UDF, VBA
3 Comments
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
Converting from global to local coordinates (and vice versa)
In 3D structural analysis (as well as many other applications) it is necessary to convert section properties, forces, and deflections between coordinate systems defined by individual structural members (local coordinates) and the common coordinate system defining the entire structure (global … Continue reading
Posted in Excel, Finite Element Analysis, Frame Analysis, Link to Python, Maths, UDFs, VBA
Tagged axis rotation, Excel, global axes, local axes, Python, PyXLL, UDF, VBA
22 Comments