lib/Quarry.hh
00001 // Quarry行列 & 逆Quarry行列
00002 // 2011/02/14 Yuki YOKOKURA
00003 //
00004 // Quarry行列 (今のところ 2次,3次,5次 まで実装済み。n次自動生成はそのうち。)
00005 //
00006 // Copyright (C) 2011 Yuki YOKOKURA
00007 // This program is free software;
00008 // you can redistribute it and/or modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 3 of the License, or any later version.
00010 // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
00011 // without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00012 // See the GNU General Public License for more details <http://www.gnu.org/licenses/>.
00013 // Besides, you can negotiate about other options of licenses instead of GPL.
00014 // If you would like to get other licenses, please contact us<yuki@katsura.sd.keio.ac.jp>.
00015 
00016 #ifndef QUARRY
00017 #define QUARRY
00018 
00019 void Q2(double X, double Y, double *P, double *Q);                                                              // 2次 Quarry行列
00020 void Q2inv(double X, double Y, double *P, double *Q);                                                   // 2次 逆Quarry行列
00021 void Q3(double J1, double J2, double J3, double *M1, double *M2, double *M3);   // 3次 Quarry行列
00022 void Q3inv(double M1, double M2, double M3, double *J1, double *J2, double *J3);// 3次 逆Quarry行列
00023 void Q5(double J[5], double M[5]);                                                                                              // 5次 Quarry行列
00024 void Q5inv(double M[5], double J[5]);                                                                                   // 5次 逆Qurry行列
00025 
00026 #endif
00027 
 All Classes Files