Метод |
Описание |
|
abs ( array $xs ) : array |
Map absolute value |
|
add ( array $xs, number $k ) : array |
Map addition |
|
cube ( array $xs ) : array |
Map cube |
|
divide ( array $xs, number $k ) : array |
Map Divide |
|
max ( array $xs, number $value ) : array |
Map max value
Each element in the array is compared against the value,
and the max of each is returned. |
|
min ( array $xs, number $value ) : array |
Map min value
Each element in array is compared against the value,
and the min of each is returned. |
|
multiply ( array $xs, number $k ) : array |
Map multiply |
|
pow ( array $xs, $n ) : array |
Map raise to a power |
|
sqrt ( array $xs ) : array |
Map square root |
|
square ( array $xs ) : array |
Map square |
|
subtract ( array $xs, number $k ) : array |
Map subtract |
|