dlib C++ Library - cblas_constants.h

    // Copyright (C) 2010  Davis E. King (davis@dlib.net)
    // License: Boost Software License   See LICENSE.txt for the full license.
    #ifndef DLIB_CBLAS_CONSTAnTS_Hh_
    #define DLIB_CBLAS_CONSTAnTS_Hh_

    #if !(defined(__GSL_CBLAS_H__) || defined(CBLAS_H))

    // Setting this tells other headers to define their own copy of the cblas API so we can
    // call it.  We only do this if some other cblas API hasn't already been included.
    #define DLIB_DEFINE_CBLAS_API

    #ifndef CBLAS_INT_TYPE
    #define CBLAS_INT_TYPE int
    #endif

    namespace dlib
    {
        namespace blas_bindings
        {
            enum CBLAS_ORDER {CblasRowMajor=101, CblasColMajor=102};
            enum CBLAS_TRANSPOSE {CblasNoTrans=111, CblasTrans=112, CblasConjTrans=113};
            enum CBLAS_UPLO {CblasUpper=121, CblasLower=122};
            enum CBLAS_DIAG {CblasNonUnit=131, CblasUnit=132};
            enum CBLAS_SIDE {CblasLeft=141, CblasRight=142};

        }
    }
    #endif

    #endif // DLIB_CBLAS_CONSTAnTS_Hh_