Skip to content
forked from diku-dk/linalg

Linear algebra library for Futhark

Notifications You must be signed in to change notification settings

FluxusMagna/linalg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linear algebra library for Futhark CI Documentation

A small collection of linear algebra operations written in Futhark. There's not a lot here yet; please open an issue if you need something that's missing.

Installation

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

Usage

> import "lib/github.com/diku-dk/linalg/linalg"
> module linalg_f32 = mk_linalg f32
> linalg_f32.matmul [[1,2],[3,4]] [[5,6],[7,8]]
[[19.0f32, 22.0f32],
 [43.0f32, 50.0f32]]

See also

About

Linear algebra library for Futhark

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Futhark 100.0%