Top "Matrix-multiplication" questions

Questions related to matrix multiplication, especially implementation.

Is there any fast method of matrix exponentiation?

Is there any faster method of matrix exponentiation to calculate Mn (where M is a matrix and n is an …

algorithm linear-algebra matrix-multiplication
Multiply a 3D matrix with a 2D matrix

Suppose I have an AxBxC matrix X and a BxD matrix Y. Is there a non-loop method by which I …

matlab matrix vectorization matrix-multiplication
Efficient 4x4 matrix multiplication (C vs assembly)

I'm looking for a faster and trickier way to multiply two 4x4 matrices in C. My current research is focused …

c optimization assembly sse matrix-multiplication
OpenMP C++ Matrix Multiplication run slower in parallel

I'm learning the basics of paralel execution of for loop using OpenMP. Sadly, my paralel program runs 10x slower than …

c++ openmp matrix-multiplication
How to speed up matrix multiplication in C++?

I'm performing matrix multiplication with this simple algorithm. To be more flexible I used objects for the matricies which contain …

c++ arrays benchmarking matrix-multiplication
element wise multiplication in r

Is there an inbuilt function or operator to do the following in R : ElementwiseMultiply <- function ( a_, b_ ) { c_ = …

r matrix-multiplication
Simple CUBLAS Matrix Multiplication Example?

I'm looking for a very bare bones matrix multiplication example for CUBLAS that can multiply M times N and place …

cuda gpu matrix-multiplication cublas
How can I multiply a vector and a matrix in tensorflow without reshaping?

This: import numpy as np a = np.array([1, 2, 1]) w = np.array([[.5, .6], [.7, .8], [.7, .8]]) print(np.dot(a, w)) # [ 2.6 3. ] # plain nice old matrix …

python tensorflow matrix-multiplication
Make the matrix multiplication operator @ work for scalars in numpy

In python 3.5, the @ operator was introduced for matrix multiplication, following PEP465. This is implemented e.g. in numpy as the …

python numpy signal-processing linear-algebra matrix-multiplication
What is the best matrix multiplication algorithm?

What is the best matrix multiplication algorithm? What means 'the best'for me? It means the fastest and ready for todays …

algorithm math matrix matrix-multiplication