Sha256: 43590d5f45a81f39f69494626030f984fb2a511551bf2cf57acf0ad54f88e2d9
Contents?: true
Size: 1.12 KB
Versions: 3
Compression:
Stored size: 1.12 KB
Contents
#ifndef SCS_BLAS_H_GUARD #define SCS_BLAS_H_GUARD #ifdef USE_LAPACK #ifdef __cplusplus extern "C" { #endif /* Default to underscore for blas / lapack */ #ifndef BLASSUFFIX #define BLASSUFFIX _ #endif /* annoying hack because some preprocessors can't handle empty macros */ #if defined(NOBLASSUFFIX) && NOBLASSUFFIX > 0 /* single or double precision */ #ifndef SFLOAT #define BLAS(x) d##x #define BLASI(x) id##x #else #define BLAS(x) s##x #define BLASI(x) is##x #endif #else /* this extra indirection is needed for BLASSUFFIX to work correctly as a * variable */ #define stitch_(pre, x, post) pre##x##post #define stitch__(pre, x, post) stitch_(pre, x, post) /* single or double precision */ #ifndef SFLOAT #define BLAS(x) stitch__(d, x, BLASSUFFIX) #define BLASI(x) stitch__(id, x, BLASSUFFIX) #else #define BLAS(x) stitch__(s, x, BLASSUFFIX) #define BLASI(x) stitch__(is, x, BLASSUFFIX) #endif #endif #ifdef MATLAB_MEX_FILE typedef ptrdiff_t blas_int; #elif defined BLAS64 #include <stdint.h> typedef int64_t blas_int; #else typedef int blas_int; #endif #ifdef __cplusplus } #endif #endif /* USE_LAPACK */ #endif /* SCS_BLAS_H_GUARD */
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
scs-0.5.0 | vendor/scs/include/scs_blas.h |
scs-0.4.3 | vendor/scs/include/scs_blas.h |
scs-0.4.2 | vendor/scs/include/scs_blas.h |