IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 16, 2009, 3:45:34 PM (17 years ago)
Author:
Paul Price
Message:

Cleaning (optimising) the gsl-psLib conversions using memcpy where appropriate. Adding function to solve matrix equation using SVD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/psLib/src/math/psMatrix.h

    r24084 r25862  
    6666 */
    6767psImage *psMatrixLUInvert(
    68     psImage *out,                  ///< place result here if not NULL
    69     const psImage* LU,             ///< LU-decomposed matrix.
    70     const psVector* perm           ///< Permutation vector resulting from psMatrixLUD function.
     68    psImage *out,                  ///< place result here if not NULL
     69    const psImage* LU,             ///< LU-decomposed matrix.
     70    const psVector* perm           ///< Permutation vector resulting from psMatrixLUD function.
    7171);
    7272
     
    186186);
    187187
     188/// Solve a matrix equation using Singular Value Decomposition
     189///
     190/// Solves Ax = b for x
     191psVector *psMatrixSolveSVD(
     192    const psImage *matrix,              ///< Matrix to be solved
     193    const psVector *vector              ///< Vector of values
     194    );
     195
     196
    188197/// Single value decomposition, provided by Andy Becker
    189198psImage *psMatrixSVD(psImage* evec, psVector* eval, const psImage* in);
Note: See TracChangeset for help on using the changeset viewer.