NumPHP is a PHP scientific computing package based on NumPy. This PHP class library is not designed to solve large-scale computing problems, but to support your PHP applications in handling basic scientific computing problems.
Matrix
?
1
2
3
4
5
6
|
$matrix = new NumArray(
1, -2/3],
[-4 /9, 2.65, 1],
]);
Vector
? |
1
2
3
$vector=
new
NumArray(
| )
[0.12, 6/7, -9]
);
The above has introduced the PHP scientific computing package: NumPHP, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.
|
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn