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/functions.php

31 lines
586 B
PHP

<?php
namespace Arma;
/**
* Helper function. Returns a CxDouble.
*
* @param double $real[optional]
* @param double $imag[optional]
* @return CxDouble
*/
function cx_double($real = 0., $imag = 0.) {}
/**
* Helper function. Returns a CxDouble whose real part is zero.
*
* @param double $imag[optional]
* @return CxDouble
*/
function j($imag = 1.) {}
/**
* Change the RNG seed (used within the php-armadillo extension).
*
* This function is automatically invoked when the extension is loaded.
*
* @param int $seed[optional]
* @return void
*/
function srand($seed) {}