AM_Math.h

Go to the documentation of this file.
00001 /*
00002  * Expression Template Matrix Library
00003  *
00004  * Copyright (C) 2004 - 2006 Ricky Lung <mtlung@users.sourceforge.net>
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  *
00020  */
00021 
00022 
00030 #include "../SIMD/SSE/AM_Math.h"
00031 #include "../SIMD/SSE2/AM_Math.h"
00032 
00033 
00034 namespace exmat {
00035 namespace Math {
00036 
00037 
00041 
00043 extern float am_sqrt_0(float x);
00045 extern float am_sqrt_1(float x);
00046 
00047 
00049 extern float am_rsqrt_0(float x);
00051 extern float am_rsqrt_1(float x);
00052 
00053 
00055 extern float am_exp(float x);
00056 
00058 extern float am_log(float x);
00059 
00061 extern float am_pow(float x, float y);
00062 
00063 
00065 extern float am_sin_0(float x);
00067 extern float am_sin_1(float x);
00068 
00070 extern float am_cos_0(float x);
00072 extern float am_cos_1(float x);
00073 
00075 extern void am_sincos(float x, float& s, float& c);
00076 
00078 extern float am_tan_0(float x);
00080 extern float am_tan_1(float x);
00081 
00083 extern float am_asin_0(float x);
00085 extern float am_asin_1(float x);
00086 
00088 extern float am_acos_0(float x);
00090 extern float am_acos_1(float x);
00091 
00093 extern float am_atan_0(float x);
00095 extern float am_atan_1(float x);
00096 
00098 
00099 };
00100 };

Generated on Sat May 6 23:11:54 2006 for Exmat by  doxygen 1.4.6-NO