ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
permute_matrix_long.hpp
Go to the documentation of this file.
1/*
2 * $Id: permute_matrix_long.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_LONG_HPP
21#define CCGSL_PERMUTE_MATRIX_LONG_HPP
22
23#include<cmath>
24#include<gsl/gsl_permute_matrix_long.h>
25#include"exception.hpp"
26
27namespace gsl {
31 namespace permute {
38 inline int
39 matrix_long( permutation& p, gsl::matrix_long& A ){
40 return gsl_permute_matrix_long( p.get(), A.get() ); }
41}
42
43#endif
This class handles matrix_long objects as shared handles.
Definition: matrix_long.hpp:57
gsl_matrix_long * get()
Get the gsl_matrix_long.
The gsl package creates an interface to the GNU Scientific Library for C++.
Definition: blas.hpp:34