<!-- manual page source format generated by PolyglotMan v3.2, --> <!-- available at http://polyglotman.sourceforge.net/ --> <html> <head> <title>REMAINDER(3) manual page</title> </head> <body bgcolor='white'> <a href='#toc'>Table of Contents</a><p> <h2><a name='sect0' href='#toc0'>Name</a></h2> im_remainder, im_remainderconst, im_remainderconst_vec - remainder after integer division <h2><a name='sect1' href='#toc1'>Synopsis</a></h2> #include <vips/vips.h> <p> int im_remainder( IMAGE *in1, IMAGE *in2, IMAGE *out ) <br> <p> int im_remainderconst( IMAGE *in, IMAGE *out, double c ) <br> <p> int im_remainderconst_vec( IMAGE *in, IMAGE *out, int n, double *c ) <h2><a name='sect2' href='#toc2'>Description</a></h2> <a href='im_remainder.3.html'><b>im_remainder(3)</b></a> calculates the remainder after integer division of two images. The output type is the same as the type of <b>in1</b> unless <b>in1</b> is float or complex, in which case the output type is signed integer. <p> <a href='im_remainderconst.3.html'><b>im_remainderconst(3)</b></a> calculates the remainder after integer division of <b>in</b> by the constant <b>c.</b> The output type is the same as the type of <b>in</b> unless <b>in</b> is float or complex, in which case the output type is signed integer. <p> <a href='im_remainderconst_vec.3.html'><b>im_remainderconst_vec(3)</b></a> works as <a href='im_remainderconst.3.html'><b>im_remainderconst(3)</a> ,</b> but lets you specify a constant per band. <p> <h2><a name='sect3' href='#toc3'>Return Value</a></h2> All functions return 0 on success and -1 on error. <h2><a name='sect4' href='#toc4'>See Also</a></h2> <a href='im_add.3.html'>im_add(3)</a> , <a href='im_lintra.3.html'>im_lintra(3)</a> , <a href='im_divide.3.html'>im_divide(3)</a> <h2><a name='sect5' href='#toc5'>Copyright</a></h2> National Gallery, 2002 <p> <hr><p> <a name='toc'><b>Table of Contents</b></a><p> <ul> <li><a name='toc0' href='#sect0'>Name</a></li> <li><a name='toc1' href='#sect1'>Synopsis</a></li> <li><a name='toc2' href='#sect2'>Description</a></li> <li><a name='toc3' href='#sect3'>Return Value</a></li> <li><a name='toc4' href='#sect4'>See Also</a></li> <li><a name='toc5' href='#sect5'>Copyright</a></li> </ul> </body> </html>