Chemical Data Processing Library Python API - Version 1.1.1
|
A binary functor that calculates the product of two property values retrieved from a pair of Base.PropertyContainer instances passed as argument. More...
Public Member Functions | |
None | __init__ (PropertyKey key) |
Constructs a PropertyValueProduct instance for the property specified by key. More... | |
object | __call__ (Base.PropertyContainer cntnr1, Base.PropertyContainer cntnr2) |
Calculates the product of the property values stored in the Base.PropertyContainer instances cntnr1 and cntnr2. More... | |
A binary functor that calculates the product of two property values retrieved from a pair of Base.PropertyContainer instances passed as argument.
None CDPL.Util.PropertyValueProduct.__init__ | ( | PropertyKey | key | ) |
Constructs a PropertyValueProduct
instance for the property specified by key.
key | The key of the property. |
object CDPL.Util.PropertyValueProduct.__call__ | ( | Base.PropertyContainer | cntnr1, |
Base.PropertyContainer | cntnr2 | ||
) |
Calculates the product of the property values stored in the Base.PropertyContainer instances cntnr1 and cntnr2.
cntnr1 | The Base.PropertyContainer instance storing the first property value. |
cntnr2 | The Base.PropertyContainer instance storing the second property value. |