Skip to content

diku-dk/sparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Futhark sparse matrix operations CI Documentation

A library for sparse matrix operations in Futhark.

Installation

$ futhark pkg add github.com/diku-dk/sparse
$ futhark pkg sync

Usage

$ futhark repl
[0]> import "lib/github.com/diku-dk/sparse/compressed"
[1]> module compressed = mk_compressed f64
[2]> let A = compressed.sr.sparse 2 3 [(0,0,2),(1,2,3)]
[3]> compressed.sr.smvm A [10,20,30]
[20.0f64, 90.0f64]

See also

About

Futhark sparse matrix operations

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors