An open API service indexing awesome lists of open source software.

https://github.com/asnimansari/gocomplex

Complex Number Utility for golang
https://github.com/asnimansari/gocomplex

complex-numbers golang maths

Last synced: 5 months ago
JSON representation

Complex Number Utility for golang

Awesome Lists containing this project

README

          

# GoMath

[![Build Status](https://travis-ci.com/asnimansari/gocomplex.svg?branch=master)](https://travis-ci.com/asnimansari/gocomplex)
[![GoDoc](https://godoc.org/github.com/nathany/looper?status.svg)](https://godoc.org/github.com/asnimansari/gocomplex/)
[![Go Report Card](https://goreportcard.com/badge/github.com/asnimansari/gocomplex)](https://goreportcard.com/report/github.com/asnimansari/gocomplex)

GoComplex contains various mathematical operators on Complex Numbers. Unlike from the original complex number implementation in golang, we used a struct to represent Complex128 with float64 for real as well as imaginary part

Couple of pending operations to implement are...

- [ ] tan
- [ ] sin
- [ ] cosine
- [ ] isnan
- [ ] isinf
- [ ] exp