IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 7, 2005, 4:38:02 PM (21 years ago)
Author:
desonia
Message:

added notes, removed references to non-existant code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/psMatrix.c

    r4029 r4144  
    2121 *  @author Robert DeSonia, MHPCC
    2222 *
    23  *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
    24  *  @date $Date: 2005-05-25 20:26:55 $
     23 *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
     24 *  @date $Date: 2005-06-08 02:38:02 $
    2525 *
    2626 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    195195    outImage = psImageRecycle(outImage, inImage->numCols, inImage->numRows, inImage->type.type);
    196196
    197     PS_CHECK_SQUARE(inImage, psMatrixLUD_EXIT);
     197    PS_CHECK_SQUARE(inImage, psMatrixLUD_EXIT); // gsl_linalg_LU_decomp would fail on non-square input.
    198198    PS_CHECK_SQUARE(outImage, psMatrixLUD_EXIT);
    199199
     
    223223
    224224    // 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.
    226226
    227227    // Copy GSL matrix data to psImage data
     
    412412    // Perform multiplication
    413413    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)
    414416
    415417    // Copy GSL matrix data to psImage data
Note: See TracChangeset for help on using the changeset viewer.