Top "Sparse-matrix" questions

A sparse matrix is a data structure in which not every entry is explicitly represented.

How to use tf.nn.embedding_lookup_sparse in TensorFlow?

We have tried using tf.nn.embedding_lookup and it works. But it needs dense input data and now we …

python tensorflow sparse-matrix embedding
Boolean matrix multiplication algorithm

This is my first question on stackoverflow. I've been solving some exercises from "Algorithm design" by Goodrich, Tamassia. However, I'm …

algorithm matrix boolean sparse-matrix strassen
another Game of Life question (infinite grid)?

I have been playing around with Conway's Game of life and recently discovered some amazingly fast implementations such as Hashlife …

algorithm data-structures sparse-matrix cellular-automata conways-game-of-life
Correlation coefficients for sparse matrix in python?

Does anyone know how to compute a correlation matrix from a very large sparse matrix in python? Basically, I am …

python numpy scipy sparse-matrix correlation
scipy csr_matrix: understand indptr

Every once in a while, I get to manipulate a csr_matrix but I always forget how the parameters indices …

python scipy sparse-matrix
How to convert a sparse matrix into a matrix of index and value of non-zero element

We can construct a sparse matrix from an index and value of non-zero element with the sparseMatrix or spMatrix. Is …

r sparse-matrix
Computing sparse pairwise distance matrix in R

I have a NxM matrix and I want to compute the NxN matrix of Euclidean distances between the M points. …

r distance sparse-matrix knn
Sparse matrix-vector multiplication in CUDA

I'm trying to implement a matrix-vector Multiplication on GPU (using CUDA). In my C++ code (CPU), I load the matrix …

c++ cuda sparse-matrix matrix-multiplication