Changeset d8928a5 in tol


Ignore:
Timestamp:
Aug 26, 2009, 9:48:31 AM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
b4b5301
Parents:
824d400
Message:

New API for generic ApplyFun* functions
New API for convertIfNeeded* functions
New If function for IfVMat method

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1246 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/vmatrix_type/tol_bvmat.h

    r824d400 rd8928a5  
    298298  int MergeRows(int nrow, BSet& items);
    299299
    300   BVMat ApplyFunRR (BFunRR f,  bool f00, const char* fName) const;
    301   BVMat ApplyFunR2R(BFunR2R f, bool f00, const char* fName,
    302                     const BVMat& B) const;
    303   BVMat ApplyFunR2R(BFunR2R f, bool f00, const char* fName,
    304                    double b) const;
    305   static int ApplyFunRR (BFunRR f, bool f00, const char* fName,
    306                          const BVMat& A,  BVMat& B);
    307   static int ApplyFunR2R(BFunR2R f, bool f00, const char* fName,
    308                          const BVMat& A, const BVMat& B, BVMat& C);
    309   static int ApplyFunR2R(BFunR2R f, bool f00, const char* fName,
    310                          const BVMat& A, double b, BVMat& C);
     300  static int ApplyFunRR (BFunRR f, bool f00, const char* fName, const BVMat& A,  BVMat& B);
     301  BVMat      ApplyFunRR (BFunRR f, bool f00, const char* fName) const;
     302
     303  static int ApplyFunR2R(BFunR2R f, bool f00, bool f0x, const char* fName, const BVMat& A, const BVMat& B, BVMat& C);
     304  BVMat      ApplyFunR2R(BFunR2R f, bool f00, bool f0x, const char* fName,                 const BVMat& B) const;
     305
     306  static int ApplyFunR2r(BFunR2R f, bool f00, bool f0x, const char* fName, const BVMat& A, double b, BVMat& C);
     307  BVMat      ApplyFunR2r(BFunR2R f, bool f00, bool f0x, const char* fName,                 double b) const;
     308
    311309  static void BinGroup(BBinFun f, BVMat** arr, int num, BVMat& C);
    312310  static BDat& AutoConvert();
    … …  
    484482  static int cRs2bRd(BVMat& left, const BVMat& right);
    485483  static int cRt2bRd(BVMat& left, const BVMat& right);
    486   static int convertIfNeeded2cRs(const BVMat&  A,  const BVMat&  B,
    487                                        BVMat*& A_,       BVMat*& B_,
    488                                  const char* fName, bool forze=false);
    489   static int convertIfNeeded2bRd(const BVMat&  A,  const BVMat&  B,
    490                                        BVMat*& A_,       BVMat*& B_,
    491                                  const char* fName, bool forze=false);
    492   static int convertIfNeeded2bRd(const BVMat&  A,  BVMat*& A_,
    493                                  const char* fName);
    494484  static int convertIfNeeded_cRt2cRs(const BVMat&  A,  const BVMat&  B,
    495485                                           BVMat*& A_,       BVMat*& B_,
    496                                      const char* fName, bool forze=false);
     486                                     const char* fName, bool forze);
     487  static int convertIfNeeded_cRt2cRs(const BVMat&  A,  BVMat*& A_,
     488                                     const char* fName);
     489  static int convertIfNeeded_all2cRs(const BVMat&  A,  const BVMat&  B,
     490                                           BVMat*& A_,       BVMat*& B_,
     491                                     const char* fName, bool forze);
     492  static int convertIfNeeded_all2cRs(const BVMat&  A,  BVMat*& A_,
     493                                     const char* fName);
     494  static int convertIfNeeded_all2bRd(const BVMat&  A,  const BVMat&  B,
     495                                           BVMat*& A_,       BVMat*& B_,
     496                                     const char* fName, bool forze);
     497  static int convertIfNeeded_all2bRd(const BVMat&  A,  BVMat*& A_,
     498                                     const char* fName);
    497499/*------------------------------------------------------------------------------
    498500  vmat_stats.cpp: Statistics methods
    … …  
    694696  static int Min(const BVMat& A, const BVMat& B, BVMat& C);
    695697  static int Max(const BVMat& A, const BVMat& B, BVMat& C);
    696  
     698  static int If (const BVMat& A, const BVMat& B, const BVMat& C, BVMat& D);
    697699/*------------------------------------------------------------------------------
    698700  vmat_chol.cpp: Choleski methods
Note: See TracChangeset for help on using the changeset viewer.