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