Skip to content

Siizer/Complex-Number-Operation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Complex-Number-Operation

JavaScript module providing comprehensive suite of functions for complex number operations customized for Electrical Power Networks.

Here's a breakdown:

  • Constants: Defined constants like,I,I,II, etc., which are complex numbers with real and imaginary parts.

  • Conversion Functions: convertToPolar and convertToCartesian for converting complex numbers between Cartesian and polar forms.

  • Arithmetic Operations: Implemented functions like complexDivision, complexInverse, complexMultiplication, complexAdd, and complexSub for complex arithmetic.

  • Multi-input Operations: complexMultiplication3, complexAdd3, and complexAdd4 extend the basic operations to handle multiple complex numbers.

  • Matrix Operations: multiplyMatrices and inverseMatrix handle matrix multiplications and inversions.

  • PI_to_Y and Seq_012: Special functions to perform specific complex number calculations, in electrical engineering contexts, such as converting impedances from Pi to Y configuration and calculating sequence components.

Overall, the code is designed to be a comprehensive library for handling complex numbers, especially useful in fields of electrical engineering.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published