A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

# Questions tagged [matrices]

For questions about construction and modification of matrices, objects represented by 2-dimensional arrays that are used to define linear operators within linear algebra.

192 questions
Filter by
Sorted by
Tagged with
12 views

### excel from matrix to 3 columns [closed]

How can I covert the matrix a b 1 a1_value b1_value 2 a2_value b2_value into ...
241 views

### Find if there is matrix that satisfying the following conditions

Given a matrix $A_{n\times n} = \{a_{ij}\}$ such that $a_{ij}$ is a non-negative number and given 2 vectors $(r_1,r_2,...,r_n)$ , $(c_1,c_2,...,c_n)$ such that $r_i,c_i\in \mathbb{Z}$ define an ...
29 views

### Enumerating special Matrices

Is there an efficient algorithm for enumerating binary $n\times n$ matrices which are such that each row has 𝑘 1's and each column also has 𝑘 1's? Related - https://math.stackexchange.com/questions/...
29 views

### Time complexity to find out the number of ways to parenthesize N matrices

I am trying to figure out the $time$ $complexity$ to find out the number of ways we can parenthesize $N$ $matrices$. I have approached this problem as, say if we have $N+1$ matrices then we can ...
39 views

### Algorithm to find a all valid matrix permutations [closed]

I have an array of $N^2$ numbers like $a = \{ a_1,a_2, ..., a_{N^2} \}$ where all $a_i < F$ where $F$ is a fixed number. I am looking for all permutations where if I put values in $A$ in order (...
137 views

### How to find a path that connects all the dots in the matrix?

I have a matrix that consists of 0, 1, 2. 0 - dot. 1 - block. 2 - start dot (initial position in the path). I have to create a path from the start dot, that connects all the dots in the matrix and ...
41 views

338 views

88 views

### Matrix multiplication in recurrent neural networks

I was looking at a tutorial for recurrent neural networks in Python, and I have a question in regards to multiplying matrices of different sizes. Specifically, why does S[t] have 100 elements in it? ...