From 6fad3847cf8c0270b0c5c3768aa14ecab51f7d8a Mon Sep 17 00:00:00 2001 From: Jiri Pittner Date: Wed, 26 Jul 2023 21:39:49 +0200 Subject: [PATCH] graph sources created --- Makefile.am | 4 ++-- graph.cc | 30 ++++++++++++++++++++++++++++++ graph.h | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 2 deletions(-) create mode 100644 graph.cc create mode 100644 graph.h diff --git a/Makefile.am b/Makefile.am index f0baef3..fc683cd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ lib_LTLIBRARIES = libla.la -include_HEADERS = version.h simple.h vecmat3.h quaternion.h fortran.h cuda_la.h auxstorage.h davidson.h laerror.h mat.h qsort.h vec.h bisection.h diis.h la.h noncblas.h smat.h bitvector.h fourindex.h la_traits.h nonclass.h sparsemat.h sparsesmat.h csrmat.h conjgrad.h gmres.h matexp.h permutation.h polynomial.h contfrac.h -libla_la_SOURCES = simple.cc quaternion.cc vecmat3.cc vec.cc mat.cc smat.cc sparsemat.cc sparsesmat.cc csrmat.cc laerror.cc noncblas.cc bitvector.cc strassen.cc nonclass.cc cuda_la.cc fourindex.cc permutation.cc polynomial.cc contfrac.cc +include_HEADERS = version.h simple.h vecmat3.h quaternion.h fortran.h cuda_la.h auxstorage.h davidson.h laerror.h mat.h qsort.h vec.h bisection.h diis.h la.h noncblas.h smat.h bitvector.h fourindex.h la_traits.h nonclass.h sparsemat.h sparsesmat.h csrmat.h conjgrad.h gmres.h matexp.h permutation.h polynomial.h contfrac.h graph.h +libla_la_SOURCES = simple.cc quaternion.cc vecmat3.cc vec.cc mat.cc smat.cc sparsemat.cc sparsesmat.cc csrmat.cc laerror.cc noncblas.cc bitvector.cc strassen.cc nonclass.cc cuda_la.cc fourindex.cc permutation.cc polynomial.cc contfrac.cc graph.cc nodist_libla_la_SOURCES = version.cc check_PROGRAMS = t test tX t_SOURCES = t.cc t2.cc diff --git a/graph.cc b/graph.cc new file mode 100644 index 0000000..189fd73 --- /dev/null +++ b/graph.cc @@ -0,0 +1,30 @@ +/* + LA: linear algebra C++ interface library + Copyright (C) 2023 Jiri Pittner or + + 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 3 of the License, or + (at your option) any later version. + + 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. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + + +//this is a haphazard collection of graph theoretical algorithms I happened to need + +#include "graph.h" +#include +#include +#include + + +namespace LA { + +}//namespace diff --git a/graph.h b/graph.h new file mode 100644 index 0000000..827416b --- /dev/null +++ b/graph.h @@ -0,0 +1,38 @@ +/* + LA: linear algebra C++ interface library + Copyright (C) 2023 Jiri Pittner or + + 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 3 of the License, or + (at your option) any later version. + + 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. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + + +//this is a haphazard collection of graph theoretical algorithms I happened to need +// + +#ifndef _GRAPH_H +#define _GRAPH_H + +#include "la_traits.h" +#include "vec.h" +#include "smat.h" +#include "mat.h" + +namespace LA { + + + + +}//namespace +#endif +