Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 285 Bytes

Math.md

File metadata and controls

15 lines (14 loc) · 285 Bytes

数学 Math

// 代数
use MathPHP\Algebra;
$gcd = Algebra::gcd(8, 12);
// 算术
use MathPHP\Arithmetic;
$√x = Arithmetic::isqrt(8);
// 遍历
use MathPHP\Functions\Map;
$x = [1, 2, 3, 4];
$sums = Map\Single::add($x, 2);
文档 https://github.com/markrogoyski/math-php