/* Copyright (c) 1997-2009
   Ewgenij Gawrilow, Michael Joswig (Technische Universitaet Darmstadt, Germany)
   http://www.polymake.de

   This program 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 2, or (at your option) any
   later version: http://www.gnu.org/licenses/gpl.txt.

   This program 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.
--------------------------------------------------------------------------------
   $Project: polymake $$Id: auto-minor_2.cc 9552 2010-03-09 14:58:12Z paffenho $
*/

#define INDEX_CHECKS 1

#include <polymake.h>
#include <Matrix.h>
#include <Array.h>
#include <Set.h>
#include <IncidenceMatrix.h>
#include <SparseMatrix.h>
#include <Integer.h>
#include <linalg.h>

namespace polymake { namespace common {
///==== Automatically generated contents follow.    Please do not delete this line. ====
   template <typename T0, typename T1, typename T2>
   FunctionInterface4perl( minor_X_X_f5, T0,T1,T2 ) {
      perl::Value arg0(stack[0]), arg1(stack[1]), arg2(stack[2]);
      WrapperReturnLvalue( T0, arg0.get<T0>().minor(arg1.get<T1>(), arg2.get<T2>()) );
   };

   FunctionInstance4perl(minor_X_X_f5, perl::Canned< const pm::RowChain<pm::Matrix<double> const&, pm::Matrix<double> const&> >, perl::Enum<pm::all_selector>, perl::TryCanned< const Array< int > >);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< const pm::RowChain<pm::Matrix<double> const&, pm::Matrix<double> const&> >, perl::Enum<pm::all_selector>, perl::Canned< const pm::Series<int, true> >);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< Matrix< double > >, perl::Canned< const Set< int > >, perl::Enum<pm::all_selector>);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< Matrix< Integer > >, perl::Enum<pm::all_selector>, perl::Canned< const pm::Series<int, true> >);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< Matrix< Integer > >, perl::Enum<pm::all_selector>, perl::TryCanned< const Array< int > >);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< Matrix< double > >, perl::Canned< const pm::incidence_line<pm::AVL::tree<pm::sparse2d::traits<pm::sparse2d::traits_base<pm::nothing, true, false, (pm::sparse2d::restriction_kind)0>, false, (pm::sparse2d::restriction_kind)0> > const&> >, perl::Enum<pm::all_selector>);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< pm::MatrixMinor<pm::Matrix<double>&, pm::Set<int, pm::operations::cmp> const&, pm::all_selector const&> >, perl::TryCanned< const Array< int > >, perl::Enum<pm::all_selector>);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< Matrix< double > >, perl::Canned< const pm::Series<int, true> >, perl::Enum<pm::all_selector>);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< pm::MatrixMinor<pm::Matrix<double>&, pm::Series<int, true> const&, pm::all_selector const&> >, perl::Canned< const Set< int > >, perl::Enum<pm::all_selector>);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< pm::MatrixMinor<pm::MatrixMinor<pm::Matrix<double>&, pm::Series<int, true> const&, pm::all_selector const&>&, pm::Set<int, pm::operations::cmp> const&, pm::all_selector const&> >, perl::TryCanned< const Array< int > >, perl::Enum<pm::all_selector>);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< Matrix< int > >, perl::Enum<pm::all_selector>, perl::Canned< const Set< int > >);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< Matrix< int > >, perl::Canned< const Set< int > >, perl::Enum<pm::all_selector>);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< const IncidenceMatrix< NonSymmetric > >, perl::Canned< const pm::Complement<pm::SingleElementSet<int const&>, int, pm::operations::cmp> >, perl::Canned< const pm::Complement<pm::SingleElementSet<int const&>, int, pm::operations::cmp> >);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< Matrix< int > >, perl::Canned< const pm::Series<int, true> >, perl::Canned< const pm::Series<int, true> >);
   FunctionInstance4perl(minor_X_X_f5, perl::Canned< SparseMatrix< int, NonSymmetric > >, perl::TryCanned< const Array< int > >, perl::TryCanned< const Array< int > >);
///==== Automatically generated contents end here.  Please do not delete this line. ====
} }
