TYL PROGRAMMING LANGUAGE
▶ COMPLEX LIBRARY
Complex Library has most of complex numbers basic functionalities.
Title:        Complex Library
Tyl Version:  2.2
Date:         2021-08-13
Author:       Tyl Software Foundation
Overview
In dealing with complex numbers, it is needed to construct and act on a two items set, that is called the complex number. The actions start with regular arithmetic operations: addition, subtraction, multiplication, etc. Other actions are specific to complex numbers calculus, such as over, norm and squaring.
Implementation
To use the complex library, include complexlib at the start of your Tyl program, and use the functionality in the library. Almost all complexlib functions return a complex record that is used as the complex number. Because complex number components are real numbers, equal function checks probable equality. If needed change equality delta.
Expansion
To expand the complex library, add more functionality to complexlib or in your code that either adds more actions over complex numbers, or adds functions that make calculations and other programming functionality with the library's functions.
Files