Questions tagged [expression-construction]
The expression-construction tag has no usage guidance.
108
questions
15
votes
2
answers
2k
views
Need help coding/creating a recursive list
I have two lists A and B, each with 99 real numbers. I want to form a list, C, whose ...
56
votes
3
answers
19k
views
How to form a block-diagonal matrix from a list of matrices?
For example, like this:
I know Join works, but it is a bit troublesome for multiple matrices. I also tried DiagonalMatrix, but ...
8
votes
3
answers
1k
views
How to create a large sparse block matrix
I need to generate a very large sparse block matrix, with blocks consisting only of ones along the diagonal. I have tried several ways of doing this, but I seem to always run out of memory.
The ...