ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
permute_matrix_double.hpp
Go to the documentation of this file.
1/*
2 * $Id: permute_matrix_double.hpp 296 2013-01-02 12:17:04Z jdl3 $
3 * Copyright (C) 2019 John D Lamb
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20#ifndef CCGSL_PERMUTE_MATRIX_DOUBLE_HPP
21#define CCGSL_PERMUTE_MATRIX_DOUBLE_HPP
22
23#include<cmath>
24#include<gsl/gsl_permute_matrix_double.h>
25#include"exception.hpp"
26#include"permutation.hpp"
27#include"matrix.hpp"
28
29namespace gsl {
33 namespace permute {
40 inline int
41 matrix_double( permutation& p, gsl::matrix& A ){
42 return gsl_permute_matrix_double( p.get(), A.get() ); }
43}
44
45#endif
This class handles matrix objects as shared handles.
Definition: matrix.hpp:72
gsl_matrix * get()
Get the gsl_matrix.
Definition: matrix.hpp:1207
The gsl package creates an interface to the GNU Scientific Library for C++.
Definition: blas.hpp:34