diff options
author | jofret | 2008-04-11 11:50:33 +0000 |
---|---|---|
committer | jofret | 2008-04-11 11:50:33 +0000 |
commit | 9be9384eb0b0a412e622dc47273c869794e0316c (patch) | |
tree | b065a231b8433f9abea7d4a3c8ffa0396934aa5d /src/elementaryFunctions/includes | |
parent | c86352506b047c1dbf495c5561436de26e6637e4 (diff) | |
download | scilab2c-9be9384eb0b0a412e622dc47273c869794e0316c.tar.gz scilab2c-9be9384eb0b0a412e622dc47273c869794e0316c.tar.bz2 scilab2c-9be9384eb0b0a412e622dc47273c869794e0316c.zip |
adding log1p
Diffstat (limited to 'src/elementaryFunctions/includes')
-rw-r--r-- | src/elementaryFunctions/includes/log1p.h | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/src/elementaryFunctions/includes/log1p.h b/src/elementaryFunctions/includes/log1p.h new file mode 100644 index 00000000..b9ba8acd --- /dev/null +++ b/src/elementaryFunctions/includes/log1p.h @@ -0,0 +1,80 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +#ifndef __LOG1P_H__ +#define __LOG1P_H__ + +#include "floatComplex.h" +#include "doubleComplex.h" + +/* +** Compute Logarithm for different types . +*/ + +/* +** \brief Float Logarithm function +** \param in : input value. +*/ +float slog1ps(float in); + +/* +** \brief Double Logarithm function +** \param in : input value. +*/ +double dlog1ps(double in); + +/* +** \brief Float Complex Logarithm function +** \param in : input value. +*/ +floatComplex clog1ps(floatComplex in); + +/* +** \brief Double Complex Logarithm function +** \param in : input value. +*/ +doubleComplex zlog1ps(doubleComplex in); + +/* +** \brief Float Matrix Logarithm function +** \param in : input array value. +** \param out : output array value. +** \param size : the size of in and out arrays. +*/ +void slog1pa(float* in, int size, float* out); + +/* +** \brief Double Matrix Logarithm function +** \param in : input array value. +** \param out : output array value. +** \param size : the size of in and out arrays. +*/ +void dlog1pa(double* in, int size, double* out); + +/* +** \brief Float Complex Matrix Logarithm function +** \param in : input array value. +** \param out : output array value. +** \param size : the size of in and out arrays. +*/ +void clog1pa(floatComplex* in, int size, floatComplex* out); + +/* +** \brief Double Complex Matrix Logarithm function +** \param in : input array value. +** \param out : output array value. +** \param size : the size of in and out arrays. +*/ +void zlog1pa(doubleComplex* in, int size, doubleComplex* out); + +#endif /* !__LOG1P_H__ */ + |