PHP Classes

File: readme

Recommend this page to a friend!
  Classes of zinsou A.A.E.Mo´se  >  PHP Complex Numbers class  >  readme  >  Download  
File: readme
Role: Documentation
Content type: text/plain
Description: readme
Class: PHP Complex Numbers class
Perform arithmetic operations with complex numbers
Author: By
Last change:
Date: 5 years ago
Size: 1,261 bytes
 

Contents

Class file image Download
ArComplex.class.package is a package for handling complex arithmetic on/with PHP Language.
This class allows users to do all human can do on or with complex numbers.
This class is very easy  to use and also very easy to understand. ArComplex.class.package allows
users to specify his complex number just like an array
example:  $a=new Arcomplex(array(-4,6)); where the first element is real and the second imaginary...
or 
example:$a=new Arcomplex(array('Im||im||i||I||imaginary'=>-4,'Re||re||r||R||real'=>6))); here the order doesn't count

or as a numeric for complex number with only real part just as 
example $a=new Arcomplex(-4);

or even more easily as a string:
example: $c=new Arcomplex('0.001+0.6533I'); or $c=new Arcomplex('0.001+0.6533i'); or $c=new Arcomplex('0.001+I'); or $c=new Arcomplex('0.001i');//the last example is
a complex with just an imaginary part..... and so one....

For other examples, see the 'complextest.php' file or read the class declaration to understand...

The package contains two classes: one for basics operations on one complex number and one other for operations between two complex number...  

For more informations or bug reporting or suggestions Please contact me at this e-mail leizmo@gmail.com 
For more information send a message to info at phpclasses dot org.