# Tag Info

1 vote

### Find Elementary Matrices that produce RREF

The following answer is a contribution to enrich Nasser's code a little more: ...

### Eigenvectors are divided by zero depending on evaluation, 6x6 matrix

Eigenvectors can be expanded by multiplying with an arbitrary number. So why not just multiply each eigenvector with the product of the denominators of its components? ...

Do ...
1 vote

### A simpler way of identifying which elements of Tuples[{0,1,2,3},6] multiply with each of my codewords to give zero?

This answer works over finite fields (package already established and GF(4) already established, not included in code below), however, I think you would just need to use ...
1 vote

### Eigenvectors are divided by zero depending on evaluation, 6x6 matrix

This is just an application of answer posted here. ...

### Eigenvectors are divided by zero depending on evaluation, 4x4 matrix

As you set the limit of b->0, some components will approach infinity, causing inconvenience. Fortunately, as we are dealing with eigenvectors, we can scale them ...

### Eigenvectors are divided by zero depending on evaluation, 6x6 matrix

This is not an answer but too long for a comment. I can try to explain why you might not want to go the route you seem to be taking. First observe that, independent of the parameters, 0 is an ...
Accepted

### How to create a vector as a tensor object for different euclidean bases?

We name "global" the built in basis. Assume then that 2 arbitrary basis are stored column wise in the following matrices: ...

### Is there a better way to calculate the number of codewords of weight $i$ in a list of codewords?

I cannot comment on the nice pieces of Mathematica code suggested by the other answerers, but as a (former) coding theorist I want to remark that people working in this area often use a generating ...
Accepted

### Is there a better way to calculate the number of codewords of weight $i$ in a list of codewords?

Using GroupBy: codewords = {{0, 0, 0, 0}, {0, 0, 0, 1}, {0, 0, 1, 0}, {0, 0, 1, 1}}; GroupBy[codewords, Total, Length] <|0 -...
1 vote

### Is there a better way to calculate the number of codewords of weight $i$ in a list of codewords?

Given codewords = {{0, 0, 0, 0}, {0, 0, 0, 1}, {0, 0, 1, 0}, {0, 0, 1, 1}} and assuming that all letters are either 0 or 1, you could do this: ...

### Is there a better way to calculate the number of codewords of weight $i$ in a list of codewords?

codewords = {{0, 0, 0, 0}, {1, 0, 0, 0}, {0, 1, 0, 0}, {1, 1, 0, 0}} a = Count /@ codewords {0, 1, 1, 2} b = Counts @ a &...

### Eigenvectors are divided by zero depending on evaluation, 6x6 matrix

This is too long for a comment, but not quite a full solution, since it would require tweaking for the particular problem at hand. But I can at least illustrate a method of fixing this issue that ...
I am assuming $\otimes$ means normal matrix multiplication. In that case ...