libsbmlcs.StoichiometryMath.setMath C# (CSharp) Method

setMath() public method

public setMath ( ASTNode math ) : int
math ASTNode
return int
        public int setMath(ASTNode math)
        {
            int ret = libsbmlPINVOKE.StoichiometryMath_setMath(swigCPtr, ASTNode.getCPtr(math));
            return ret;
        }

Usage Example

 public void test_StoichiometryMath()
 {
     StoichiometryMath sm = new StoichiometryMath(2,4);
       assertEquals( false, (sm.hasRequiredElements()) );
       sm.setMath(libsbml.parseFormula("ar"));
       assertEquals( true, sm.hasRequiredElements() );
       sm = null;
 }
All Usage Examples Of libsbmlcs.StoichiometryMath::setMath