This repository has been archived on 2020-06-07. You can view files and clone it, but cannot push or open issues or pull requests.
php-armadillo/stubs/Complex.php

34 lines
476 B
PHP
Raw Normal View History

2019-02-23 02:07:23 +00:00
<?php
namespace Arma;
/**
* Represents a complex number.
*
* @package Arma
*/
abstract class Complex
{
/**
* Real part of complex number.
*
* @var number
*/
public $real;
/**
* Imaginary part of complex number.
*
* @var number
*/
public $imag;
/**
* Constructor.
*
* @param number $real[optional]
* @param number $imag[optional]
*/
abstract function __construct($real, $imag);
}