libsbml.SpeciesReference.setStoichiometryMath C# (CSharp) Method

setStoichiometryMath() public method

public setStoichiometryMath ( StoichiometryMath math ) : int
math StoichiometryMath
return int
        public int setStoichiometryMath(StoichiometryMath math)
        {
            int ret = libsbmlPINVOKE.SpeciesReference_setStoichiometryMath(swigCPtr, StoichiometryMath.getCPtr(math));
            return ret;
        }

Usage Example

Ejemplo n.º 1
0
 public void test_StoichiometryMath_parent_add()
 {
     StoichiometryMath m = new StoichiometryMath(2,4);
       SpeciesReference sr = new SpeciesReference(2,4);
       sr.setStoichiometryMath(m);
       m = null;
       assertTrue( sr == sr.getStoichiometryMath().getParentSBMLObject() );
       sr = null;
 }
All Usage Examples Of libsbml.SpeciesReference::setStoichiometryMath