Skip to content
Statistics Library for Futhark
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/github.com/diku-dk/statistics
.gitignore
.travis.yml
LICENSE
Makefile
README.md
futhark.pkg

README.md

Statistics Library for Futhark Build Status Documentation

This library provides a number of statistics functions for Futhark.

Part of this library is based on work by Emily Erica Hueg and Marcus Færch Stensler.

Installation

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

Usage example

$ futharki
[0]> import "lib/github.com/diku-dk/statistics/statistics"
[1]> module s = mk_statistics f64
[2]> s.mean [3.0f64,4.5f64,6.0f64,6.5f64]
5.0f64
You can’t perform that action at this time.