
This simplify code, increase readability and improve the function signature for API users.
56 lines
882 B
PHP
56 lines
882 B
PHP
<?php
|
|
|
|
return [
|
|
[
|
|
'#NUM!',
|
|
'12.34+5.67j',
|
|
'123.45+67.89i',
|
|
],
|
|
[
|
|
'111.11+62.22j',
|
|
'123.45+67.89j',
|
|
'12.34+5.67j',
|
|
],
|
|
[
|
|
'-111.11-62.22j',
|
|
'12.34+5.67j',
|
|
'123.45+67.89j',
|
|
],
|
|
[
|
|
'-111.11-62.22i',
|
|
'12.34+5.67i',
|
|
'123.45+67.89i',
|
|
'123.45+67.89i',
|
|
],
|
|
[
|
|
'-135.79+62.22i',
|
|
'-12.34-5.67i',
|
|
'123.45-67.89i',
|
|
],
|
|
[
|
|
'135.79+62.22i',
|
|
'12.34-5.67i',
|
|
'-123.45-67.89i',
|
|
],
|
|
[
|
|
'111.11+62.22i',
|
|
'-12.34-5.67i',
|
|
'-123.45-67.89i',
|
|
],
|
|
[
|
|
'#NUM!',
|
|
'-12.34-5.67i',
|
|
'-123.45-67.89',
|
|
],
|
|
[
|
|
'#NUM!',
|
|
'-12.34-5.67j',
|
|
'-123.45-67.89',
|
|
],
|
|
[
|
|
'#NUM!',
|
|
'-12.34-5.67',
|
|
'-123.45-67.89j',
|
|
],
|
|
];
|