libsbmlcs.ASTNode.setValue C# (CSharp) Method

setValue() public method

public setValue ( double value ) : int
value double
return int
        public int setValue(double value)
        {
            int ret = libsbmlPINVOKE.ASTNode_setValue__SWIG_2(swigCPtr, value);
            return ret;
        }

Same methods

ASTNode::setValue ( double mantissa, int exponent ) : int
ASTNode::setValue ( int value ) : int
ASTNode::setValue ( int numerator, int denominator ) : int

Usage Example

 public void test_MathMLFormatter_constant_notanumber()
 {
     string expected = wrapMathML("  <notanumber/>\n");
       N = new ASTNode(libsbml.AST_REAL);
       N.setValue( util_NaN() );
       S = libsbml.writeMathMLToString(N);
       assertEquals( true, equals(expected,S) );
 }
All Usage Examples Of libsbmlcs.ASTNode::setValue