Registry / utility / markbaker-complex

markbaker-complex

JSON →
library3.0.2phppackagistunverified

PHP Class for working with complex numbers.

composer require markbaker/complex
INSTALL
IMPORT
SIG · MARKBAKER-COMPLEX
M
markbaker-complex
utilityphpv3.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Complex
use Complex\Complex;

Create and manipulate complex numbers.

use Complex\Complex; $complex = new Complex(3, 4); echo $complex->add(new Complex(1, 2));
Debug
Known issues
breakingRequires PHP 7.4+ for typed properties.
fix
Upgrade PHP to 7.4 or later.
affects: <3.0
Upgrade
Version history
3.0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
markbaker-complex — pip install markbaker-complex · libregistry