Changeset 6346 for trunk/psLib/src/astro/psCoord.c
- Timestamp:
- Feb 7, 2006, 1:14:21 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psCoord.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.c
r6254 r6346 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.10 5$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-0 1-30 23:42:24$12 * @version $Revision: 1.106 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-02-07 23:14:21 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 63 63 XXX: This code no longer makes sense. The merge must be reviewed. 64 64 *****************************************************************************/ 65 66 65 // XXX EAM : below is the code using the standard matrix representation. 67 66 // note that this inversion requires x->nX == 1, y->nY == 1 and … … 205 204 } 206 205 207 // XXX: Verify the order/nterms poly changes208 206 psPlaneTransform* psPlaneTransformAlloc(int order1, int order2) 209 207 { … … 266 264 } 267 265 268 // XXX: Verify the order/nterms poly changes269 266 psPlaneDistort* psPlaneDistortAlloc(int order1, int order2, int order3, int order4) 270 267 { … … 327 324 /****************************************************************************** 328 325 XXX: Private Function. 326 327 XXX: Optimize this. We don't need a while loop here. 329 328 330 329 piNormalize(): take an input angle in radians and convert it to the range 0:2*PI. … … 867 866 // Solution via LU Decomposition 868 867 // 868 // XXX: Check return codes 869 // 869 870 psVector *permutation = psVectorAlloc(nCoeff, PS_TYPE_F64); // Permutation vector for LU Decomposition 870 871 psImage *luMatrix = psMatrixLUD(NULL, &permutation, matrix); // LU decomposed matrix 871 872 psVector *xSolution = psMatrixLUSolve(NULL, luMatrix, xVector, permutation); // Solution in x 872 873 psVector *ySolution = psMatrixLUSolve(NULL, luMatrix, yVector, permutation); // Solution in y 873 874 //875 // XXX: Should check the output of the matrix routines and return false if bad.876 //877 874 878 875 //
Note:
See TracChangeset
for help on using the changeset viewer.
