MyraMath
bothcat.h
Go to the documentation of this file.
1 // ========================================================================= //
2 // This file is part of MyraMath, copyright (c) 2014-2019 by Ryan A Chilton //
3 // and distributed by MyraCore, LLC. See LICENSE.txt for license terms. //
4 // ========================================================================= //
5 
6 #ifndef MYRAMATH_SPARSE_BOTHCAT_H
7 #define MYRAMATH_SPARSE_BOTHCAT_H
8 
14 #include <myramath/utility/detail/LIBPUBLIC.h>
16 
17 namespace myra {
18 
19 // Forward declarations.
20 template<class T> class Array2;
21 class Pattern;
22 class PatternRange;
23 template <class Number> class SparseMatrix;
24 template <class Number> class CSparseMatrixRange;
25 
27 LIBPUBLIC Pattern bothcat (const PatternRange& A, const PatternRange& B, const PatternRange& C, const PatternRange& D);
34 
36 LIBPUBLIC Pattern bothcat(const Array2<PatternRange>& ranges);
38 LIBPUBLIC SparseMatrix<NumberS> bothcat(const Array2<CSparseMatrixRange<NumberS> >& ranges);
39 LIBPUBLIC SparseMatrix<NumberD> bothcat(const Array2<CSparseMatrixRange<NumberD> >& ranges);
40 LIBPUBLIC SparseMatrix<NumberC> bothcat(const Array2<CSparseMatrixRange<NumberC> >& ranges);
41 LIBPUBLIC SparseMatrix<NumberZ> bothcat(const Array2<CSparseMatrixRange<NumberZ> >& ranges);
43 
44 } // namespace
45 
46 #endif
Container of values, allows random (i,j) access.
Definition: Array2.h:30
Definition: syntax.dox:1
Represents an immutable view of a Pattern.
Definition: PatternRange.h:31
Various utility functions/classes related to scalar Number types.
Represents a const SparseMatrixRange.
Definition: bothcat.h:24
Holds the nonzero pattern of a sparse matrix.
Definition: Pattern.h:55
Stores an IxJ matrix A in compressed sparse column format.
Definition: bothcat.h:23