PHP Class MathPHP\Functions\Arithmetic

Afficher le fichier Open project: markrogoyski/math-php

Méthodes publiques

Méthode Description
add ( variadic $args ) : callable Adds any number of single variable (callback) functions {f(x)}. Returns the sum as a callback function.
multiply ( variadic $args ) : callable Multiplies any number of single variable (callback) functions {f(x)}.

Method Details

add() public static méthode

Adds any number of single variable (callback) functions {f(x)}. Returns the sum as a callback function.
public static add ( variadic $args ) : callable
$args variadic
Résultat callable Sum of the input functions

multiply() public static méthode

Returns the product as a callback function.
public static multiply ( variadic $args ) : callable
$args variadic
Résultat callable Product of the input functions