All Questions
Tagged with expression-construction linear-algebra
3
questions
4
votes
4
answers
475
views
Generating a family of 0-1 matrices satisfying a particular property
I'm looking for an elegant way to generate the set of all possible matrices that satisfy the following properties:
Each matrix has 9 rows and c columns, where 1<=c<=9.
Each matrix has exactly ...
4
votes
3
answers
243
views
Find six vectors with rational entries under constraints?
Define six vectors v[i] with i=1,2,3...,6. Each v[i] is six dimensional and all entries in ...
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 ...