Sha256: 0dc788b3f5ba9fa0087e1787350a3b6abaca71a917d3c1862e597313fc3fb63d

Contents?: true

Size: 1.81 KB

Versions: 9

Compression:

Stored size: 1.81 KB

Contents

<html><!-- Created using the cpp_pretty_printer from the dlib C++ library.  See http://dlib.net for updates. --><head><title>dlib C++ Library - cblas_izamax.c</title></head><body bgcolor='white'><pre>
<font color='#009900'>/*
 * cblas_izamax.c
 *
 * The program is a C interface to izamax.
 * It calls the fortran wrapper before calling izamax.
 *
 * Written by Keita Teranishi.  2/11/1998
 *
 */</font>
<font color='#0000FF'>#include</font> "<a style='text-decoration:none' href='cblas.h.html'>cblas.h</a>"
<font color='#0000FF'>#include</font> "<a style='text-decoration:none' href='cblas_f77.h.html'>cblas_f77.h</a>"
CBLAS_INDEX <b><a name='cblas_izamax'></a>cblas_izamax</b><font face='Lucida Console'>(</font> <font color='#0000FF'>const</font> <font color='#0000FF'><u>int</u></font> N, <font color='#0000FF'>const</font> <font color='#0000FF'><u>void</u></font> <font color='#5555FF'>*</font>X, <font color='#0000FF'>const</font> <font color='#0000FF'><u>int</u></font> incX<font face='Lucida Console'>)</font>
<b>{</b>
   F77_INT iamax;
<font color='#0000FF'>#ifdef</font> F77_INT
   F77_INT F77_N<font color='#5555FF'>=</font>N, F77_incX<font color='#5555FF'>=</font>incX;
<font color='#0000FF'>#else</font> 
   <font color='#0000FF'>#define</font> F77_N N
   <font color='#0000FF'>#define</font> F77_incX incX
<font color='#0000FF'>#endif</font>
   <font color='#BB00BB'>F77_izamax_sub</font><font face='Lucida Console'>(</font> <font color='#5555FF'>&amp;</font>F77_N, X, <font color='#5555FF'>&amp;</font>F77_incX, <font color='#5555FF'>&amp;</font>iamax<font face='Lucida Console'>)</font>;
   <font color='#0000FF'>return</font> <font face='Lucida Console'>(</font>iamax ? iamax<font color='#5555FF'>-</font><font color='#979000'>1</font> : <font color='#979000'>0</font><font face='Lucida Console'>)</font>;
<b>}</b>

</pre></body></html>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dlib-1.2.2 ext/dlib-19.4/docs/dlib/external/cblas/cblas_izamax.c.html
dlib-1.2.1 ext/dlib-19.4/docs/dlib/external/cblas/cblas_izamax.c.html
dlib-1.2.0 ext/dlib-19.4/docs/dlib/external/cblas/cblas_izamax.c.html
dlib-1.1.5 ext/dlib-19.4/docs/dlib/external/cblas/cblas_izamax.c.html
dlib-1.1.4 ext/dlib-19.4/docs/dlib/external/cblas/cblas_izamax.c.html
dlib-1.1.3 ext/dlib-19.4/docs/dlib/external/cblas/cblas_izamax.c.html
dlib-1.1.2 ext/dlib-19.4/docs/dlib/external/cblas/cblas_izamax.c.html
dlib-1.1.1 ext/dlib-19.4/docs/dlib/external/cblas/cblas_izamax.c.html
dlib-1.1.0 ext/dlib-19.4/docs/dlib/external/cblas/cblas_izamax.c.html