python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Sequentially multiply matrices from a list by a vector at time t-1 (recursively)
I am trying to multiply a list of matrices, in the order they appear within the list starting with matrix 1, by an initial vector and then recursively; so matrix 2 from the list multiplied by that res...
user11057680
Votes: 0
Answers: 2
Error: requires numeric/complex matrix/vector arguments for %*%; cross validating glmmTMB model
I am adapting some k-fold cross validation code written for glmer/merMod models to a glmmTMB model framework. All seems well until I try and use the output from the model(s) fit with training data to ...
Charlie_J
Votes: 0
Answers: 1
Vectorize this matmul like operation in Numpy, Numba, Cupy manner
Say I have an vector v(ij) and matrix M(jk).
v = np.array([1.0, 1.0, 0.0, 0.0], dtype=np.float32)
M = np.array([[0.0, 0.0, 0.2, 0.0],
[0.0, 0.0, 0.0, -0.1],
[0.0, 0.0, 0.0...
Gestalt
Votes: 0
Answers: 0
Does the TensorFlows XLA compiler optimise matrix chains as a part of its graph optimisation?
A matrix chain is a chain of matrix matrix product. I consider the following matrix chain:
ABC; where A and B are of size 3000x3000 and C is of size 3000x600
There are two ways to evaluate the abov...
Aravind Sankaran
Votes: 0
Answers: 0