<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>multiplication_scs.c File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.15 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> <hr><h1>multiplication_scs.c File Reference</h1>Functions for SCS multiplication operations. <a href="#_details">More...</a> <p> <p> <a href="multiplication__scs_8c-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td colspan=2><br><h2>Functions</h2></td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="multiplication__scs_8c.html#a2">scs_mul</a> (<a class="el" href="scs_8h.html#a2">scs_ptr</a> result, <a class="el" href="scs_8h.html#a2">scs_ptr</a> x, <a class="el" href="scs_8h.html#a2">scs_ptr</a> y)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="multiplication__scs_8c.html#a3">scs_square</a> (<a class="el" href="scs_8h.html#a2">scs_ptr</a> result, <a class="el" href="scs_8h.html#a2">scs_ptr</a> x)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="multiplication__scs_8c.html#a4">scs_mul_ui</a> (<a class="el" href="scs_8h.html#a2">scs_ptr</a> x, unsigned int val_int)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Functions for SCS multiplication operations. <p> <dl compact><dt><b> Author: </b><dd> Defour David <a href="mailto:David.Defour@ens-lyon.fr">David.Defour@ens-lyon.fr</a> , Florent de Dinechin <a href="mailto:Florent.de.Dinechin@ens-lyon.fr">Florent.de.Dinechin@ens-lyon.fr</a></dl>This file is part of the SCS library. <p> <p> Definition in file <a class="el" href="multiplication__scs_8c-source.html">multiplication_scs.c</a>.<hr><h2>Function Documentation</h2> <a name="a2" doxytag="multiplication_scs.c::scs_mul"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void scs_mul </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="scs_8h.html#a2">scs_ptr</a> </td> <td class="mdname" nowrap> <em>result</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="scs_8h.html#a2">scs_ptr</a> </td> <td class="mdname" nowrap> <em>x</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const <a class="el" href="scs_8h.html#a2">scs_ptr</a> </td> <td class="mdname" nowrap> <em>y</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Multiplication of two SCS numbers. <p> The arguments x, y and result may point to the same memory location. The result is a normalised SCS number. <p> Definition at line <a class="el" href="multiplication__scs_8c-source.html#l00291">291</a> of file <a class="el" href="multiplication__scs_8c-source.html">multiplication_scs.c</a>. <p> Referenced by <a class="el" href="division__scs_8c-source.html#l00067">scs_div</a>(), and <a class="el" href="division__scs_8c-source.html#l00038">scs_inv</a>(). </td> </tr> </table> <a name="a3" doxytag="multiplication_scs.c::scs_square"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void scs_square </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="scs_8h.html#a2">scs_ptr</a> </td> <td class="mdname" nowrap> <em>result</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="scs_8h.html#a2">scs_ptr</a> </td> <td class="mdname" nowrap> <em>x</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Square. <p> Result is normalised <p> Definition at line <a class="el" href="multiplication__scs_8c-source.html#l00378">378</a> of file <a class="el" href="multiplication__scs_8c-source.html">multiplication_scs.c</a>. </td> </tr> </table> <a name="a4" doxytag="multiplication_scs.c::scs_mul_ui"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void scs_mul_ui </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="scs_8h.html#a2">scs_ptr</a> </td> <td class="mdname" nowrap> , </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const unsigned </td> <td class="mdname" nowrap> <em>int</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Multiplication of a SCS with an unsigned integer; result is returned in x. <p> <p> Definition at line <a class="el" href="multiplication__scs_8c-source.html#l00448">448</a> of file <a class="el" href="multiplication__scs_8c-source.html">multiplication_scs.c</a>. </td> </tr> </table> <hr><address align="right"><small>Generated on Tue Jun 17 10:15:52 2003 for SCSLib by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address> </body> </html>