Changeset 4144
- Timestamp:
- Jun 7, 2005, 4:38:02 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 4 edited
-
configure.ac (modified) (1 diff)
-
src/dataManip/psMatrix.c (modified) (4 diffs)
-
src/math/psMatrix.c (modified) (4 diffs)
-
test/image/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/configure.ac
r4128 r4144 38 38 dnl enable POSIX/XSI and C99 compliance 39 39 CFLAGS="${CFLAGS=} -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112L -std=c99" 40 41 AC_LANG_PUSH(Fortran 77)42 AC_PROG_F77([gfortran g77])43 AC_F77_WRAPPERS44 AC_LANG_POP(Fortran 77)45 40 46 41 AC_PROG_INSTALL -
trunk/psLib/src/dataManip/psMatrix.c
r4029 r4144 21 21 * @author Robert DeSonia, MHPCC 22 22 * 23 * @version $Revision: 1. 29$ $Name: not supported by cvs2svn $24 * @date $Date: 2005-0 5-25 20:26:55$23 * @version $Revision: 1.30 $ $Name: not supported by cvs2svn $ 24 * @date $Date: 2005-06-08 02:38:02 $ 25 25 * 26 26 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 195 195 outImage = psImageRecycle(outImage, inImage->numCols, inImage->numRows, inImage->type.type); 196 196 197 PS_CHECK_SQUARE(inImage, psMatrixLUD_EXIT); 197 PS_CHECK_SQUARE(inImage, psMatrixLUD_EXIT); // gsl_linalg_LU_decomp would fail on non-square input. 198 198 PS_CHECK_SQUARE(outImage, psMatrixLUD_EXIT); 199 199 … … 223 223 224 224 // Calculate LU decomposition 225 gsl_linalg_LU_decomp(lu, &perm, &signum); 225 gsl_linalg_LU_decomp(lu, &perm, &signum); // N.B., uses Gaussian Elimination with partial pivoting. 226 226 227 227 // Copy GSL matrix data to psImage data … … 412 412 // Perform multiplication 413 413 gsl_linalg_matmult(m1, m2, m3); 414 // N.B., gsl_blas_sgemm/dgemm could have been used instead, e.g., 415 // gsl_blas_dgemm(CblasNoTrans, CblasNoTrans, 1.0, m1, m2, m3) 414 416 415 417 // Copy GSL matrix data to psImage data -
trunk/psLib/src/math/psMatrix.c
r4029 r4144 21 21 * @author Robert DeSonia, MHPCC 22 22 * 23 * @version $Revision: 1. 29$ $Name: not supported by cvs2svn $24 * @date $Date: 2005-0 5-25 20:26:55$23 * @version $Revision: 1.30 $ $Name: not supported by cvs2svn $ 24 * @date $Date: 2005-06-08 02:38:02 $ 25 25 * 26 26 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 195 195 outImage = psImageRecycle(outImage, inImage->numCols, inImage->numRows, inImage->type.type); 196 196 197 PS_CHECK_SQUARE(inImage, psMatrixLUD_EXIT); 197 PS_CHECK_SQUARE(inImage, psMatrixLUD_EXIT); // gsl_linalg_LU_decomp would fail on non-square input. 198 198 PS_CHECK_SQUARE(outImage, psMatrixLUD_EXIT); 199 199 … … 223 223 224 224 // Calculate LU decomposition 225 gsl_linalg_LU_decomp(lu, &perm, &signum); 225 gsl_linalg_LU_decomp(lu, &perm, &signum); // N.B., uses Gaussian Elimination with partial pivoting. 226 226 227 227 // Copy GSL matrix data to psImage data … … 412 412 // Perform multiplication 413 413 gsl_linalg_matmult(m1, m2, m3); 414 // N.B., gsl_blas_sgemm/dgemm could have been used instead, e.g., 415 // gsl_blas_dgemm(CblasNoTrans, CblasNoTrans, 1.0, m1, m2, m3) 414 416 415 417 // Copy GSL matrix data to psImage data -
trunk/psLib/test/image/Makefile.am
r4128 r4144 48 48 tst_psImageStructManip_SOURCES = tst_psImageStructManip.c 49 49 tst_psImageConvolve_SOURCES = tst_psImageConvolve.c 50 tst_psImageIO_SOURCES = tst_psImageIO.c51 50 tst_psImageInterpolate_SOURCES = tst_psImageInterpolate.c 52 51
Note:
See TracChangeset
for help on using the changeset viewer.
