Skip to content

Commit

Permalink
Add version 1.9.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
iwoodsawyer authored Mar 31, 2021
1 parent d1f869b commit e6e2c66
Show file tree
Hide file tree
Showing 15 changed files with 3,271 additions and 0 deletions.
21 changes: 21 additions & 0 deletions factor.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* Starting from version 7.8, MATLAB BLAS expects ptrdiff_t arguments for integers */
#if MATLAB_VERSION >= 0x0708
#include <stddef.h>
#include <stdlib.h>
#endif
#include <string.h>

/* Define MX_HAS_INTERLEAVED_COMPLEX for version <9.4 */
#ifndef MX_HAS_INTERLEAVED_COMPLEX
#define MX_HAS_INTERLEAVED_COMPLEX 0
#endif

/* Starting from version 7.6, MATLAB BLAS is seperated */
#if MATLAB_VERSION >= 0x0705
#include <blas.h>
#endif
#include <lapack.h>

#ifndef min
#define min(a,b) ((a) <= (b) ? (a) : (b))
#endif
Loading

0 comments on commit e6e2c66

Please sign in to comment.