Skip to content

diku-dk/complex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Complex number library for Futhark CI Documentation

A straightforward library for complex numbers.

Installation

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

Usage example

$ futhark repl
> import "lib/github.com/diku-dk/complex/complex"
> module c64 = mk_complex f64
> let c = c64.mk 1 2
> c64.conj c
(1.0f64, -2.0f64)