Changeset b4b5301 in tol


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

New API for generic ApplyFun* functions

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

File:
1 edited

Legend:

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

    rd8928a5 rb4b5301  
    4242#define DefineMonary(FUN,fun,f00,NAME)                                         \
    4343int BVMat::FUN(const BVMat& A, BVMat& B)                                       \
    44 { return(ApplyFunRR(fun,  f00,  NAME, A,B)); }                                \
     44{ return(ApplyFunRR(fun,  f00,  NAME, A,B)); }                                 \
    4545BVMat BVMat::FUN() const                                                       \
    4646{ return(ApplyFunRR(fun,  f00,   NAME)); }                                     \
    4747
    4848
    49 #define DefineBinaryR(FUN,fun,f00,NAME)                                        \
     49#define DefineBinaryR(FUN,fun,f00,f0x,NAME)                                    \
    5050int BVMat::FUN(const BVMat& A, double b, BVMat& C)                             \
    51 { return(ApplyFunR2R(fun,  f00,  NAME, A,b,C)); }                             \
     51{ return(ApplyFunR2r(fun,  f00,  f0x, NAME, A,b,C)); }                         \
    5252BVMat BVMat::FUN(double b) const                                               \
    53 { return(ApplyFunR2R(fun,  f00,   NAME, b)); }                                 \
     53{ return(ApplyFunR2r(fun,  f00,  f0x, NAME, b)); }                             \
    5454 
    55 #define DefineBinary(FUN,fun,f00,NAME)                                         \
     55#define DefineBinary(FUN,fun,f00,f0x,NAME)                                     \
    5656int BVMat::FUN(const BVMat& A, const BVMat& B, BVMat& C)                       \
    57 { return(ApplyFunR2R(fun,  f00,  NAME, A,B,C)); }                             \
     57{ return(ApplyFunR2R(fun,  f00,  f0x, NAME, A,B,C)); }                         \
    5858BVMat BVMat::FUN(const BVMat& B) const                                         \
    59 { return(ApplyFunR2R(fun,  f00,   NAME, B)); }                                 \
     59{ return(ApplyFunR2R(fun,  f00, f0x,  NAME, B)); }                             \
    6060
    6161       
Note: See TracChangeset for help on using the changeset viewer.