Thomas Lumley 4/1/2021

A modest proposal for matrix multiplication

Read Original

This article presents a method for performing matrix multiplication using tidy data principles in R. It explains how to store matrices in data frames and implement multiplication via joins, drawing parallels to Einstein summation convention for tensors. The approach naturally handles sparse matrices and database-stored data, offering efficiency benefits.

A modest proposal for matrix multiplication

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser