"Fossies" - the Fresh Open Source Software Archive

Member "petsc-3.12.4/docs/manualpages/Sys/PetscMax.html" (4 Feb 2020, 3326 Bytes) of package /linux/misc/petsc-3.12.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
    2 <HTML>
    3 <HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscMax.html" />
    4 <META NAME="GENERATOR" CONTENT="DOCTEXT">
    5 <TITLE>PetscMax</TITLE>
    6 </HEAD>
    7 <BODY BGCOLOR="FFFFFF">
    8    <div id="version" align=right><b>petsc-3.12.4 2020-02-04</b></div>
    9    <div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.12.4 v3.12.4 docs/manualpages/Sys/PetscMax.html "><small>Report Typos and Errors</small></a></div>
   10 <A NAME="PetscMax"><H1>PetscMax</H1></A>
   11 Returns maxium of two numbers 
   12 <H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
   13 <PRE>
   14 #include &lt;petscmath.h&gt;
   15 type max <A HREF="../Sys/PetscMax.html#PetscMax">PetscMax</A>(type v1,type v2)
   16 </PRE>
   17 Not Collective
   18 <P>
   19 <H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
   20 <TABLE border="0" cellpadding="0" cellspacing="0">
   21 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>v1 </B></TD><TD>- first value to find maximum of
   22 </TD></TR>
   23 <TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>v2 </B></TD><TD>- second value to find maximum of
   24 </TD></TR></TABLE>
   25 <P>
   26 <H3><FONT COLOR="#CC3333">Notes</FONT></H3>
   27 type can be integer or floating point value
   28 <P>
   29 
   30 <P>
   31 <H3><FONT COLOR="#CC3333">See Also</FONT></H3>
   32  <A HREF="../Sys/PetscMin.html#PetscMin">PetscMin</A>(), <A HREF="../Sys/PetscClipInterval.html#PetscClipInterval">PetscClipInterval</A>(), <A HREF="../Sys/PetscAbsInt.html#PetscAbsInt">PetscAbsInt</A>(), <A HREF="../Sys/PetscAbsReal.html#PetscAbsReal">PetscAbsReal</A>(), <A HREF="../Sys/PetscSqr.html#PetscSqr">PetscSqr</A>()
   33 <BR>
   34 <P>
   35 <P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>beginner<BR>
   36 <H3><FONT COLOR="#CC3333">Location</FONT></H3>
   37 </B><A HREF="../../../include/petscmath.h.html#PetscMax">include/petscmath.h</A>
   38 <P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
   39 <A HREF="../../../src/ksp/ksp/examples/tutorials/ex70.c.html">src/ksp/ksp/examples/tutorials/ex70.c.html</A><BR>
   40 <A HREF="../../../src/snes/examples/tutorials/ex12.c.html">src/snes/examples/tutorials/ex12.c.html</A><BR>
   41 <A HREF="../../../src/snes/examples/tutorials/ex30.c.html">src/snes/examples/tutorials/ex30.c.html</A><BR>
   42 <A HREF="../../../src/snes/examples/tutorials/ex48.c.html">src/snes/examples/tutorials/ex48.c.html</A><BR>
   43 <A HREF="../../../src/ts/examples/tutorials/ex1.c.html">src/ts/examples/tutorials/ex1.c.html</A><BR>
   44 <A HREF="../../../src/ts/examples/tutorials/ex9.c.html">src/ts/examples/tutorials/ex9.c.html</A><BR>
   45 <A HREF="../../../src/ts/examples/tutorials/ex11.c.html">src/ts/examples/tutorials/ex11.c.html</A><BR>
   46 <A HREF="../../../src/ts/examples/tutorials/ex14.c.html">src/ts/examples/tutorials/ex14.c.html</A><BR>
   47 <A HREF="../../../src/ts/examples/tutorials/ex22.c.html">src/ts/examples/tutorials/ex22.c.html</A><BR>
   48 <A HREF="../../../src/ts/examples/tutorials/ex48.c.html">src/ts/examples/tutorials/ex48.c.html</A><BR>
   49 <A HREF="../../../src/tao/bound/examples/tutorials/plate2.c.html">src/tao/bound/examples/tutorials/plate2.c.html</A><BR>
   50 <BR><A HREF="./index.html">Index of all Sys routines</A>
   51 <BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
   52 <BR><A HREF="../singleindex.html">Index of all manual pages</A>
   53 </BODY></HTML>