openGPMP
Open Source Mathematics Package
linalg.hpp
Go to the documentation of this file.
1 /*************************************************************************
2  *
3  * Project
4  * _____ _____ __ __ _____
5  * / ____| __ \| \/ | __ \
6  * ___ _ __ ___ _ __ | | __| |__) | \ / | |__) |
7  * / _ \| '_ \ / _ \ '_ \| | |_ | ___/| |\/| | ___/
8  *| (_) | |_) | __/ | | | |__| | | | | | | |
9  * \___/| .__/ \___|_| |_|\_____|_| |_| |_|_|
10  * | |
11  * |_|
12  *
13  * Copyright (C) Akiel Aries, <akiel@akiel.org>, et al.
14  *
15  * This software is licensed as described in the file LICENSE, which
16  * you should have received as part of this distribution. The terms
17  * among other details are referenced in the official documentation
18  * seen here : https://akielaries.github.io/openGPMP/ along with
19  * important files seen in this project.
20  *
21  * You may opt to use, copy, modify, merge, publish, distribute
22  * and/or sell copies of the Software, and permit persons to whom
23  * the Software is furnished to do so, under the terms of the
24  * LICENSE file. As this is an Open Source effort, all implementations
25  * must be of the same methodology.
26  *
27  *
28  *
29  * This software is distributed on an AS IS basis, WITHOUT
30  * WARRANTY OF ANY KIND, either express or implied.
31  *
32  ************************************************************************/
33 
46 #ifndef LINALG_HPP
47 #define LINALG_HPP
48 
49 #include "linalg/eigen.hpp"
50 #include "linalg/linsys.hpp"
51 #include "linalg/mtx.hpp"
52 #include "linalg/svd.hpp"
53 #include "linalg/tensor.hpp"
54 #include "linalg/vector.hpp"
55 
56 /*****************************************************************************/
57 
62 #define CUDA_MATRIX
63 #if defined(__linux__)
64 #ifdef __NVCC__
65 #include "linalg/_cuda_mtx.cuh"
66 #endif
67 #endif
68 
73 #if defined(__linux__) || defined(__APPLE__)
74 #ifndef __OPENCL__
75 #include "linalg/_gpu_mtx.h"
77 #endif
78 #endif
79 
80 #endif