IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 6, 2009, 2:21:29 PM (17 years ago)
Author:
eugene
Message:

rename LU decomp functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/math/psPolynomialMD.c

    r21183 r24090  
    304304    polynomialMDFill(poly->fitMatrix);
    305305
    306     poly->LU = psMatrixLUD(poly->LU, &poly->LUperm, poly->fitMatrix); // LU-decomposed matrix
     306    poly->LU = psMatrixLUDecomposition(poly->LU, &poly->LUperm, poly->fitMatrix); // LU-decomposed matrix
    307307    if (!poly->LU) {
    308308        psError(PS_ERR_UNKNOWN, false, "Unable to LU-Decompose least-squares matrix.");
     
    310310    }
    311311
    312     poly->coeff = psMatrixLUSolve(poly->coeff, poly->LU, poly->fitVector, poly->LUperm);
     312    poly->coeff = psMatrixLUSolution(poly->coeff, poly->LU, poly->fitVector, poly->LUperm);
    313313    if (!poly->coeff) {
    314314        psError(PS_ERR_UNKNOWN, false, "Unable to solve least-squares equation.");
     
    447447
    448448    // Solve least-squares equation
    449     *lu = psMatrixLUD(*lu, perm, matrix);
     449    *lu = psMatrixLUDecomposition(*lu, perm, matrix);
    450450    if (!*lu) {
    451451        psError(PS_ERR_UNKNOWN, false, "Unable to LU-Decompose least-squares matrix.");
    452452        return false;
    453453    }
    454     poly->coeff = psMatrixLUSolve(poly->coeff, *lu, vector, *perm);
     454    poly->coeff = psMatrixLUSolution(poly->coeff, *lu, vector, *perm);
    455455    if (!poly->coeff) {
    456456        psError(PS_ERR_UNKNOWN, false, "Unable to solve least-squares equation.");
Note: See TracChangeset for help on using the changeset viewer.