NumericBinaryOperator
- class pyarts.arts.NumericBinaryOperator(*args, **kwargs)
A simple functional type.
This type will work as a function pointer that takes two
Numeric
to produce anotherNumeric
.Overview
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Operator
__call__(self, x: object, y: object) -> object
Operator
Return self==value.
Operator
Return self>=value.
Operator
Helper for pickle.
Operator
Return self>value.
Operator
Return hash(self).
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Constructors
- __init__(self, arg: collections.abc.Callable[[float, float], float], /) None
- __init__(self) None
- __init__(self, arg: pyarts.arts.NumericBinaryOperator) None
Methods
- readxml(self, file: str) None
Read variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) None
Saves variable to file
- Parameters:
- On Error:
Throws RuntimeError for any failure to save
Static Methods
- fromxml(file: str) pyarts.arts.NumericBinaryOperator
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getstate__()
Helper for pickle.
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.