Ejemplo n.º 1
0
 /// <summary> Sets the coefficient of the products.
 ///
 /// </summary>
 /// <param name="coefficients">An array of double's containing the coefficients of the products
 /// </param>
 /// <returns>  true if coefficients have been set.
 /// </returns>
 /// <seealso cref="getProductCoefficients">
 /// </seealso>
 public virtual bool setProductCoefficients(double[] coefficients)
 {
     notifyChanged();
     return(products.setMultipliers(coefficients));
 }
Ejemplo n.º 2
0
 /// <summary> Sets the coefficients of the reactants.
 ///
 /// </summary>
 /// <param name="coefficients">An array of double's containing the coefficients of the reactants
 /// </param>
 /// <returns>  true if coefficients have been set.
 /// </returns>
 /// <seealso cref="getReactantCoefficients">
 /// </seealso>
 public virtual bool setReactantCoefficients(double[] coefficients)
 {
     notifyChanged();
     return(reactants.setMultipliers(coefficients));
 }