Changeset 5090 for trunk/psLib/src/math/psPolynomial.h
- Timestamp:
- Sep 21, 2005, 4:47:16 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psPolynomial.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomial.h
r5066 r5090 11 11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1.5 6$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-09- 19 19:53:13$13 * @version $Revision: 1.57 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-09-22 02:47:16 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 64 64 */ 65 65 typedef enum { 66 PS_POLYNOMIAL_ORD, ///< Ordinary Polynomial67 PS_POLYNOMIAL_CHEB ///< Chebyshev Polynomial66 PS_POLYNOMIAL_ORD, ///< Ordinary Polynomial 67 PS_POLYNOMIAL_CHEB ///< Chebyshev Polynomial 68 68 } 69 69 psPolynomialType; 70 70 71 // XXX: These are incorrect names for the order of the polynomial. We 72 // keep them here temporarily so we can later sed replace them with the 73 // correct names. 71 74 /** One-dimensional polynomial */ 72 75 typedef struct 73 76 { 74 psPolynomialType type; ///< Polynomial type75 unsigned int n; ///< Number of terms76 psF64 *coeff; ///< Coefficients77 psF64 *coeffErr; ///< Error in coefficients78 psMaskType *mask; ///< Coefficient mask77 psPolynomialType type; ///< Polynomial type 78 unsigned int COOL_1D_n; ///< Polynomial order 79 psF64 *coeff; ///< Coefficients 80 psF64 *coeffErr; ///< Error in coefficients 81 psMaskType *mask; ///< Coefficient mask 79 82 } 80 83 psPolynomial1D; 81 84 85 // XXX: These are incorrect names for the order of the polynomial. We 86 // keep them here temporarily so we can later sed replace them with the 87 // correct names. 82 88 /** Two-dimensional polynomial */ 83 89 typedef struct 84 90 { 85 psPolynomialType type; ///< Polynomial type86 unsigned int nX; ///< Number of termsin x87 unsigned int nY; ///< Number of termsin y88 psF64 **coeff; ///< Coefficients89 psF64 **coeffErr; ///< Error in coefficients90 psMaskType **mask; ///< Coefficients mask91 psPolynomialType type; ///< Polynomial type 92 unsigned int COOL_2D_nX; ///< Polynomial order in x 93 unsigned int COOL_2D_nY; ///< Polynomial order in y 94 psF64 **coeff; ///< Coefficients 95 psF64 **coeffErr; ///< Error in coefficients 96 psMaskType **mask; ///< Coefficients mask 91 97 } 92 98 psPolynomial2D; 93 99 100 // XXX: These are incorrect names for the order of the polynomial. We 101 // keep them here temporarily so we can later sed replace them with the 102 // correct names. 94 103 /** Three-dimensional polynomial */ 95 104 typedef struct 96 105 { 97 psPolynomialType type; ///< Polynomial type98 unsigned int nX; ///< Number of termsin x99 unsigned int nY; ///< Number of termsin y100 unsigned int nZ; ///< Number of termsin z101 psF64 ***coeff; ///< Coefficients102 psF64 ***coeffErr; ///< Error in coefficients103 psMaskType ***mask; ///< Coefficients mask106 psPolynomialType type; ///< Polynomial type 107 unsigned int COOL_3D_nX; ///< Polynomial order in x 108 unsigned int COOL_3D_nY; ///< Polynomial order in y 109 unsigned int COOL_3D_nZ; ///< Polynomial order in z 110 psF64 ***coeff; ///< Coefficients 111 psF64 ***coeffErr; ///< Error in coefficients 112 psMaskType ***mask; ///< Coefficients mask 104 113 } 105 114 psPolynomial3D; 106 115 116 // XXX: These are incorrect names for the order of the polynomial. We 117 // keep them here temporarily so we can later sed replace them with the 118 // correct names. 107 119 /** Four-dimensional polynomial */ 108 120 typedef struct 109 121 { 110 psPolynomialType type; ///< Polynomial type111 unsigned int nX; ///< Number of termsin x112 unsigned int nY; ///< Number of termsin y113 unsigned int nZ; ///< Number of termsin z114 unsigned int nT; ///< Number of termsin t115 psF64 ****coeff; ///< Coefficients116 psF64 ****coeffErr; ///< Error in coefficients117 psMaskType ****mask; ///< Coefficients mask122 psPolynomialType type; ///< Polynomial type 123 unsigned int COOL_4D_nX; ///< Polynomial order in x 124 unsigned int COOL_4D_nY; ///< Polynomial order in y 125 unsigned int COOL_4D_nZ; ///< Polynomial order in z 126 unsigned int COOL_4D_nT; ///< Polynomial order in t 127 psF64 ****coeff; ///< Coefficients 128 psF64 ****coeffErr; ///< Error in coefficients 129 psMaskType ****mask; ///< Coefficients mask 118 130 } 119 131 psPolynomial4D;
Note:
See TracChangeset
for help on using the changeset viewer.
