view liboctave/numeric/sparse-dmsolve.h @ 21219:ddf0a5f3a967

split interface and implementation for dmsolve * sparse-dmsolve.h: New file. Provide dmsolve declaration only. * liboctave/numeric/module.mk: Update. * sparse-dmsolve.cc: Explicitly instantiate template types we need. * CSparse.cc, dSparse.cc: Include sparse-dmsolve.h instead of sparse-dmsolve.cc.
author John W. Eaton <jwe@octave.org>
date Sun, 07 Feb 2016 14:06:43 -0500
parents
children 1473547f50f5
line wrap: on
line source

/*

Copyright (C) 2016 John W. Eaton
Copyright (C) 2006-2015 David Bateman

This file is part of Octave.

Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3 of the License, or (at your
option) any later version.

Octave is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING.  If not, see
<http://www.gnu.org/licenses/>.

*/

#if ! defined (octave_sparse_dmsolve_h)
#define octave_sparse_dmsolve_h 1

template <typename RT, typename ST, typename T>
RT
dmsolve (const ST& a, const T& b, octave_idx_type& info);

#endif