RicardoSantos

ArrayOperationsFloat

Library "ArrayOperationsFloat"
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.
Returns: float array with added results.

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.
Returns: float array with subtracted results.

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.
Returns: float array with multiplied results.

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.
Returns: float array with divided results.

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.
Returns: float array with raised results.

remainder(sample_a, sample_b) float 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.
Returns: float array with remainder results.
مكتبة باين

كمثال للقيم التي تتبناها TradingView، نشر المؤلف شيفرة باين كمكتبة مفتوحة المصدر بحيث يمكن لمبرمجي باين الآخرين من مجتمعنا استخدامه بحرية. تحياتنا للمؤلف! يمكنك استخدام هذه المكتبة بشكل خاص أو في منشورات أخرى مفتوحة المصدر، ولكن إعادة استخدام هذا الرمز في المنشور تحكمه قواعد الموقع.

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذه المكتبة؟

انسخ النص إلى الحافظة وألصقه في النص البرمجي الخاص بك.