31 lines
586 B
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) {}
|