Skip to main content
Best answer by Werner_E

Fred's contribution shows impressively that the use of Express strongly encourages creativity - chapeaux!

Here is a solution using programming (not working in Express)

Werner_E_0-1613087385225.png

Unfortunately user-written programs can't be written to accept a variable number of arguments. So I guess it would be better to rewrite the function to accept just one matrix and do the stacking outside of the function, maybe when calling it. That way its possible to deal with more than two matrices the very same way:

Werner_E_1-1613087967450.png

 

Prime 6 sheet attached

 

 

2 replies

23-Emerald I
February 11, 2021

Using Express!

Werner_E25-Diamond IAnswer
25-Diamond I
February 12, 2021

Fred's contribution shows impressively that the use of Express strongly encourages creativity - chapeaux!

Here is a solution using programming (not working in Express)

Werner_E_0-1613087385225.png

Unfortunately user-written programs can't be written to accept a variable number of arguments. So I guess it would be better to rewrite the function to accept just one matrix and do the stacking outside of the function, maybe when calling it. That way its possible to deal with more than two matrices the very same way:

Werner_E_1-1613087967450.png

 

Prime 6 sheet attached