andre_007

MathOperator

andre_007 Telah dikemas kini   
Library "MathOperator"
Methods to handle operators.

method add(value_a, value_b)
  Add value a to b.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: float.

method subtract(value_a, value_b)
  subtract value b from a.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: float.

method multiply(value_a, value_b)
  multiply value a with b.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: float.

method divide(value_a, value_b)
  divide value a with b.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: float.

method remainder(value_a, value_b)
  remainder of a with b.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: float.

method equal(value_a, value_b)
  equality of value a with b.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: bool.

method not_equal(value_a, value_b)
  inequality of value a with b.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: bool.

method over(value_a, value_b)
  value a is over b.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: bool.

method under(value_a, value_b)
  value a is under b.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: bool.

method over_equal(value_a, value_b)
  value a is over equal b.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: bool.

method under_equal(value_a, value_b)
  value a is under equal b.
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    value_b (float): float, value b.
  Returns: bool.

method and_(value_a, value_b)
  logical and of a with b
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    value_a (bool): bool, value a.
    value_b (bool): bool, value b.
  Returns: bool.

method or_(value_a, value_b)
  logical or of a with b.
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    value_a (bool): bool, value a.
    value_b (bool): bool, value b.
  Returns: bool.

method not_(value_a)
  logical not of a.
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    value_a (bool): bool, value a.
  Returns: bool.

method xor_(value_a, value_b)
  logical xor of a with b.
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    value_a (bool): bool, value a.
    value_b (bool): bool, value b.
  Returns: bool.

method xnor_(value_a, value_b)
  logical xnor of a with b.
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    value_a (bool): bool, value a.
    value_b (bool): bool, value b.
  Returns: bool.

method nand_(value_a, value_b)
  logical nand of a with b.
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    value_a (bool): bool, value a.
    value_b (bool): bool, value b.
  Returns: bool.

method nor_(value_a, value_b)
  logical nor of a with b.
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    value_a (bool): bool, value a.
    value_b (bool): bool, value b.
  Returns: bool.
Nota Keluaran:
v2

Added:
method comparison_proposition(value_a, operator, value_b)
  Comparison Proposition
  Namespace types: series float, simple float, input float, const float
  Parameters:
    value_a (float): float, value a.
    operator (string): string, operator.
    value_b (float): float, value b.
  Returns: bool.

method logical_proposition(value_a, operator, value_b)
  Logical Proposition
  Namespace types: series bool, simple bool, input bool, const bool
  Parameters:
    value_a (bool): bool, value a.
    operator (string): string, operator.
    value_b (bool): bool, value b.
  Returns: bool.

To contribute to my work, I accept cryptocurrency and Paypal.
⚡Bitcoin Lightning Network: forwardocean64@walletofsatoshi.com
🟠Bitcoin: bc1qv0j28wjsg6l8fdkphkmgfz4f55xpph893q0pdh
🔵Paypal: www.paypal.com/donate/?hosted_button_id=96MNFFT9YR35S
Perpustakaan Pine

Di dalam semangat sebenar TradingView, pengarang telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka, jadi pengaturcara-pengaturcara Pine yang lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara peribadi atau pada penerbitan-penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini di dalam penerbitan adalah ditadbir oleh Peraturan Dalaman.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Mahu gunakan perpustakaan ini?

Salin garisan ini dan tampalkan ia di dalam skrip anda.