GY-63_MS5611/libraries/Complex
2021-05-28 14:16:25 +02:00
..
.github/workflows add arduino-lint 2021-05-28 13:17:38 +02:00
examples remove duplicates + minor 2021-02-06 15:52:51 +01:00
test 2021-01-29 2021-01-29 12:31:58 +01:00
.arduino-ci.yml 2021-01-29 2021-01-29 12:31:58 +01:00
complex.cpp 2021-01-29 2021-01-29 12:31:58 +01:00
complex.h 2021-01-29 2021-01-29 12:31:58 +01:00
keywords.txt 2021-01-29 2021-01-29 12:31:58 +01:00
library.json add license to library,json 2021-05-28 14:16:25 +02:00
library.properties 2021-01-29 2021-01-29 12:31:58 +01:00
LICENSE 2021-01-29 2021-01-29 12:31:58 +01:00
README.md 2021-01-29 2021-01-29 12:31:58 +01:00
ReleaseNote.txt Fix issue #33 - Double to float 2018-04-02 20:48:12 +02:00

Arduino CI License: MIT GitHub release

Complex

Arduino library for Complex math

Description

This library defines the complex datatype and all the common math functions for it.

These functions include basic = "+ - * /" and also power and gonio functions.

Interface

See Complex.h for all functions implemented.

Note

The library has a big footprint so it fills up the memory of an UNO quite fast.

Known problem

Issue found in version 0.1.9 - https://github.com/RobTillaart/Arduino/issues/90 Class does not compile for DUE and TEENSY

Apparently the name "Complex" is already in use (reserved) by some non-AVR compilers so it won't include the Complex.h file. Problem seen on Due and Teensy3.5

Solution:

  • Make a copy of the Complex Library and rename the folder to CComplex
  • Rename Complex.h to CComplex.h
  • Rename Complex.cpp to CComplec.cpp
  • change one line in CComplex.cpp to include CComplex.h