Amesos2 - Direct Sparse Solver Interfaces
Version of the Day
Main Page
Related Pages
Modules
Classes
Files
Examples
File List
File Members
src
basker
basker.hpp
1
// @HEADER
2
// *****************************************************************************
3
// Basker: A Direct Linear Solver package
4
//
5
// Copyright 2011 NTESS and the Basker contributors.
6
// SPDX-License-Identifier: LGPL-2.1-or-later
7
// *****************************************************************************
8
// @HEADER
9
10
11
#ifndef BASKER_HPP
12
#define BASKER_HPP
13
14
#include "basker_types.hpp"
15
#include "basker_decl.hpp"
16
#include "basker_def.hpp"
17
18
/*
19
#ifdef MATLAB_MEX_FILE
20
#include "matrix.h"
21
#include "mex.h"
22
23
#define BASKERASSERT(a) mxAssert(a,"")
24
#define BASKERREALLOC(ptr,size) mxRealloc(ptr, size)
25
#define BASKERCALLOC(num, size) mxCalloc(num, size)
26
#define BASKERFREE(ptr)
27
28
#else
29
#include <cassert>
30
#include <cstdlib>
31
32
#define BASKERASSERT(a) assert(a)
33
#define BASKERREALLOC(ptr, size) realloc(ptr, size)
34
#define BASKERCALLOC(num, size) calloc(num,size)
35
#define BASKERFREE(ptr) free(ptr)
36
37
#endif
38
*/
39
40
#endif
Generated on Fri Nov 22 2024 09:16:49 for Amesos2 - Direct Sparse Solver Interfaces by
1.8.5