Changeset 5066 for trunk/psLib/src/math/psPolynomial.h
- Timestamp:
- Sep 19, 2005, 9:53:13 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psPolynomial.h (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomial.h
r4969 r5066 11 11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1.5 5$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-09- 08 00:02:48$13 * @version $Revision: 1.56 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-09-19 19:53:13 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 56 56 psF32 mean, ///< The mean of the Gaussian 57 57 psF32 sigma, ///< The sigma of the Gaussian 58 psS32 Npts///< The size of the vector58 unsigned int Npts ///< The size of the vector 59 59 ); 60 60 … … 73 73 { 74 74 psPolynomialType type; ///< Polynomial type 75 int n;///< Number of terms75 unsigned int n; ///< Number of terms 76 76 psF64 *coeff; ///< Coefficients 77 77 psF64 *coeffErr; ///< Error in coefficients 78 char *mask;///< Coefficient mask78 psMaskType *mask; ///< Coefficient mask 79 79 } 80 80 psPolynomial1D; … … 84 84 { 85 85 psPolynomialType type; ///< Polynomial type 86 int nX;///< Number of terms in x87 int nY;///< Number of terms in y86 unsigned int nX; ///< Number of terms in x 87 unsigned int nY; ///< Number of terms in y 88 88 psF64 **coeff; ///< Coefficients 89 89 psF64 **coeffErr; ///< Error in coefficients 90 char **mask;///< Coefficients mask90 psMaskType **mask; ///< Coefficients mask 91 91 } 92 92 psPolynomial2D; … … 96 96 { 97 97 psPolynomialType type; ///< Polynomial type 98 int nX;///< Number of terms in x99 int nY;///< Number of terms in y100 int nZ;///< Number of terms in z98 unsigned int nX; ///< Number of terms in x 99 unsigned int nY; ///< Number of terms in y 100 unsigned int nZ; ///< Number of terms in z 101 101 psF64 ***coeff; ///< Coefficients 102 102 psF64 ***coeffErr; ///< Error in coefficients 103 char ***mask;///< Coefficients mask103 psMaskType ***mask; ///< Coefficients mask 104 104 } 105 105 psPolynomial3D; … … 109 109 { 110 110 psPolynomialType type; ///< Polynomial type 111 int nX;///< Number of terms in x112 int nY;///< Number of terms in y113 int nZ;///< Number of terms in z114 int nT;///< Number of terms in t111 unsigned int nX; ///< Number of terms in x 112 unsigned int nY; ///< Number of terms in y 113 unsigned int nZ; ///< Number of terms in z 114 unsigned int nT; ///< Number of terms in t 115 115 psF64 ****coeff; ///< Coefficients 116 116 psF64 ****coeffErr; ///< Error in coefficients 117 char ****mask;///< Coefficients mask117 psMaskType ****mask; ///< Coefficients mask 118 118 } 119 119 psPolynomial4D; … … 125 125 */ 126 126 psPolynomial1D* psPolynomial1DAlloc( 127 int n,///< Number of terms127 unsigned int n, ///< Number of terms 128 128 psPolynomialType type ///< Polynomial Type 129 129 ); … … 134 134 */ 135 135 psPolynomial2D* psPolynomial2DAlloc( 136 int nX, ///< Number of terms in x137 int nY, ///< Number of terms in y136 unsigned int nX, ///< Number of terms in x 137 unsigned int nY, ///< Number of terms in y 138 138 psPolynomialType type ///< Polynomial Type 139 139 ); … … 144 144 */ 145 145 psPolynomial3D* psPolynomial3DAlloc( 146 int nX,///< Number of terms in x147 int nY,///< Number of terms in y148 int nZ,///< Number of terms in z146 unsigned int nX, ///< Number of terms in x 147 unsigned int nY, ///< Number of terms in y 148 unsigned int nZ, ///< Number of terms in z 149 149 psPolynomialType type ///< Polynomial Type 150 150 ); … … 155 155 */ 156 156 psPolynomial4D* psPolynomial4DAlloc( 157 int nX,///< Number of terms in x158 int nY,///< Number of terms in y159 int nZ,///< Number of terms in z160 int nT,///< Number of terms in t157 unsigned int nX, ///< Number of terms in x 158 unsigned int nY, ///< Number of terms in y 159 unsigned int nZ, ///< Number of terms in z 160 unsigned int nT, ///< Number of terms in t 161 161 psPolynomialType type ///< Polynomial Type 162 162 );
Note:
See TracChangeset
for help on using the changeset viewer.
