Changeset 6193 for trunk/psLib/src/math/psPolynomial.c
- Timestamp:
- Jan 25, 2006, 2:31:19 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/math/psPolynomial.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomial.c
r6186 r6193 7 7 * polynomials. It also contains a Gaussian functions. 8 8 * 9 * @version $Revision: 1.13 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2006-01-2 3 22:25:31$9 * @version $Revision: 1.137 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2006-01-26 00:31:19 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 194 194 } 195 195 196 if (psTraceGetLevel(__func__) >= 6) { 197 for (psS32 j = 0; j < numPolys; j++) { 198 PS_POLY_PRINT_1D(chebPolys[j]); 199 } 200 } 196 201 return (chebPolys); 197 202 } … … 606 611 /***************************************************************************** 607 612 This routine must allocate memory for the polynomial structures. 613 614 XXX: How do we check for an appropriate value for n? 608 615 *****************************************************************************/ 609 616 psPolynomial1D* psPolynomial1DAlloc( … … 611 618 psPolynomialType type) 612 619 { 613 PS_ASSERT_INT_NONNEGATIVE(n, NULL);620 //PS_ASSERT_INT_NONNEGATIVE(n, NULL); 614 621 psU32 nOrder = n; 615 622 psPolynomial1D *newPoly = (psPolynomial1D* ) psAlloc(sizeof(psPolynomial1D)); … … 636 643 psPolynomialType type) 637 644 { 638 PS_ASSERT_INT_NONNEGATIVE(nX, NULL);639 PS_ASSERT_INT_NONNEGATIVE(nY, NULL);645 //PS_ASSERT_INT_NONNEGATIVE(nX, NULL); 646 //PS_ASSERT_INT_NONNEGATIVE(nY, NULL); 640 647 641 648 unsigned int x = 0; … … 674 681 psPolynomialType type) 675 682 { 676 PS_ASSERT_INT_NONNEGATIVE(nX, NULL);677 PS_ASSERT_INT_NONNEGATIVE(nY, NULL);678 PS_ASSERT_INT_NONNEGATIVE(nZ, NULL);683 //PS_ASSERT_INT_NONNEGATIVE(nX, NULL); 684 //PS_ASSERT_INT_NONNEGATIVE(nY, NULL); 685 //PS_ASSERT_INT_NONNEGATIVE(nZ, NULL); 679 686 680 687 unsigned int x = 0; … … 723 730 psPolynomialType type) 724 731 { 725 PS_ASSERT_INT_NONNEGATIVE(nX, NULL);726 PS_ASSERT_INT_NONNEGATIVE(nY, NULL);727 PS_ASSERT_INT_NONNEGATIVE(nZ, NULL);728 PS_ASSERT_INT_NONNEGATIVE(nT, NULL);732 //PS_ASSERT_INT_NONNEGATIVE(nX, NULL); 733 //PS_ASSERT_INT_NONNEGATIVE(nY, NULL); 734 //PS_ASSERT_INT_NONNEGATIVE(nZ, NULL); 735 //PS_ASSERT_INT_NONNEGATIVE(nT, NULL); 729 736 730 737 unsigned int x = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
