<HTML> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- Created on December, 22 2009 by texi2html 1.64 --> <!-- Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> Olaf Bachmann <obachman@mathematik.uni-kl.de> and many others. Maintained by: Olaf Bachmann <obachman@mathematik.uni-kl.de> Send bugs and suggestions to <texi2html@mathematik.uni-kl.de> --> <HEAD> <TITLE>APRON 0.9.10: Tests on tree expressions of level 1</TITLE> <META NAME="description" CONTENT="APRON 0.9.10: Tests on tree expressions of level 1"> <META NAME="keywords" CONTENT="APRON 0.9.10: Tests on tree expressions of level 1"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META NAME="Generator" CONTENT="texi2html 1.64"> </HEAD> <BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"> <A NAME="SEC116"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_79.html#SEC115"> < </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_81.html#SEC117"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_72.html#SEC108"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_77.html#SEC113"> Up </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_82.html#SEC118"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_toc.html#SEC_Contents">Contents</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[Index]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="apron_abt.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <HR SIZE=1> <H3> Tests on tree expressions of level 1 </H3> <!--docid::SEC116::--> <P> <A NAME="IDX254"></A> <DL> <DT><U>Function:</U> bool <B>ap_texpr1_equal</B> <I>(ap_texpr1_t* <VAR>e1</VAR>, ap_texpr1_t* <VAR>e2</VAR>)</I> <DD>Structural (recursive) equality </DL> </P><P> <A NAME="IDX255"></A> <DL> <DT><U>Function:</U> bool <B>ap_texpr1_has_var</B> <I>(ap_texpr1_t* <VAR>e</VAR>, ap_var_t <VAR>var</VAR>)</I> <DD>Return true if variable <VAR>var</VAR> appears in the expression. </DL> </P><P> The next functions classifies tree expressions. <A NAME="IDX256"></A> <DL> <DT><U>Function:</U> bool <B>ap_texpr1_is_interval_cst</B> <I>(ap_texpr1_t* <VAR>e</VAR>)</I> <DD>No variable, only constant leaves </DL> </P><P> <A NAME="IDX257"></A> <DL> <DT><U>Function:</U> bool <B>ap_texpr1_is_interval_linear</B> <I>(ap_texpr1_t* <VAR>e</VAR>)</I> <DD>Linear with possibly interval coefficients, no rounding </DL> </P><P> <A NAME="IDX258"></A> <DL> <DT><U>Function:</U> bool <B>ap_texpr1_is_interval_polynomial</B> <I>(ap_texpr1_t* <VAR>e</VAR>)</I> <DD>Polynomial with possibly interval coefficients, no rounding </DL> </P><P> <A NAME="IDX259"></A> <DL> <DT><U>Function:</U> bool <B>ap_texpr1_is_interval_polyfrac</B> <I>(ap_texpr1_t* <VAR>e</VAR>)</I> <DD>Polynomial fraction with possibly interval coefficients, no rounding </DL> </P><P> <A NAME="IDX260"></A> <DL> <DT><U>Function:</U> bool <B>ap_texpr1_is_scalar</B> <I>(ap_texpr1_t* <VAR>e</VAR>)</I> <DD>All coefficients are scalar (non-interval)@end deftypefun </P><P> <A NAME="Operations on tree expressions of level 1"></A> <HR SIZE=1> <BR> <FONT SIZE="-1"> This document was generated by <I>Bertrand Jeannet</I> on <I>December, 22 2009</I> using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html "><I>texi2html</I></A> </BODY> </HTML>