Library "ArrayOperationsInt"
Array Basic Operations for Integers
add(sample_a, sample_b) Adds sample_b to sample_a and returns a new array.
Parameters:
subtract(sample_a, sample_b) subtracts sample_b from sample_a and returns a new array.
Parameters:
multiply(sample_a, sample_b) multiply sample_a with sample_b and returns a new array.
Parameters:
divide(sample_a, sample_b) divide sample_a with sample_b and returns a new array.
Parameters:
power(sample_a, sample_b) rise sample_a to the power of sample_b and returns a new array.
Parameters:
remainder(sample_a, sample_b) integer remainder of sample_a under the dividend sample_b and returns a new array.
Parameters:
Array Basic Operations for Integers
add(sample_a, sample_b) Adds sample_b to sample_a and returns a new array.
Parameters:
- sample_a: values to be added to.
- sample_b: values to add.
subtract(sample_a, sample_b) subtracts sample_b from sample_a and returns a new array.
Parameters:
- sample_a: values to be subtracted from.
- sample_b: values to subtract.
multiply(sample_a, sample_b) multiply sample_a with sample_b and returns a new array.
Parameters:
- sample_a: values to multiply.
- sample_b: values to multiply with.
divide(sample_a, sample_b) divide sample_a with sample_b and returns a new array.
Parameters:
- sample_a: values to divide.
- sample_b: values to divide with.
power(sample_a, sample_b) rise sample_a to the power of sample_b and returns a new array.
Parameters:
- sample_a: base values to raise.
- sample_b: values of exponents.
remainder(sample_a, sample_b) integer remainder of sample_a under the dividend sample_b and returns a new array.
Parameters:
- sample_a: values of quotients.
- sample_b: values of dividends.