C-XSC - A C++ Class Library for Extended Scientific Computing
2.5.4
|
00001 /* 00002 ** CXSC is a C++ library for eXtended Scientific Computing (V 2.5.4) 00003 ** 00004 ** Copyright (C) 1990-2000 Institut fuer Angewandte Mathematik, 00005 ** Universitaet Karlsruhe, Germany 00006 ** (C) 2000-2014 Wiss. Rechnen/Softwaretechnologie 00007 ** Universitaet Wuppertal, Germany 00008 ** 00009 ** This library is free software; you can redistribute it and/or 00010 ** modify it under the terms of the GNU Library General Public 00011 ** License as published by the Free Software Foundation; either 00012 ** version 2 of the License, or (at your option) any later version. 00013 ** 00014 ** This library is distributed in the hope that it will be useful, 00015 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 ** Library General Public License for more details. 00018 ** 00019 ** You should have received a copy of the GNU Library General Public 00020 ** License along with this library; if not, write to the Free 00021 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 */ 00023 00024 /* CVS $Id: imath.inl,v 1.8 2014/01/30 17:23:45 cxsc Exp $ */ 00025 00026 #define CXSC_INCLUDE 00027 #undef LINT_ARGS 00028 #include <fi_lib.hpp> 00029 #undef CXSC_INCLUDE 00030 00031 namespace cxsc{ 00032 using namespace fi_lib; 00033 inline interval sqrt (const interval &a) { return j_sqrt(a); } 00034 00035 inline interval sin (const interval &a) throw() { return j_sin(a); } 00036 inline interval cos (const interval &a) throw() { return j_cos(a); } 00037 inline interval tan (const interval &a) throw() { return j_tan(a); } 00038 inline interval cot (const interval &a) throw() { return j_cot(a); } 00039 00040 inline interval asin (const interval &a) { return j_asin(a); } 00041 inline interval acos (const interval &a) { return j_acos(a); } 00042 inline interval atan (const interval &a) { return j_atan(a); } 00043 inline interval acot (const interval &a) { return j_acot(a); } 00044 00045 inline interval exp (const interval &a) throw() { return j_exp(a); } 00046 inline interval ln (const interval &a) { return j_log(a); } 00047 inline interval log2 (const interval &a) { return j_log2(a); } 00048 inline interval log10 (const interval &a) { return j_lg10(a); } 00049 00050 inline interval sinh (const interval &a) throw() { return j_sinh(a); } 00051 inline interval cosh (const interval &a) throw() { return j_cosh(a); } 00052 inline interval tanh (const interval &a) throw() { return j_tanh(a); } 00053 inline interval coth (const interval &a) throw() { return j_coth(a); } 00054 00055 inline interval asinh (const interval &a) { return j_asnh(a); } 00056 inline interval acosh (const interval &a) { return j_acsh(a); } 00057 inline interval atanh (const interval &a) { return j_atnh(a); } 00058 inline interval acoth (const interval &a) { return j_acth(a); } 00059 00060 } // namespace cxsc