KASKADE 7 development version
umfpack_tools.hh
Go to the documentation of this file.
1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2/* */
3/* This file is part of the library KASKADE 7 */
4/* https://www.zib.de/research/projects/kaskade7-finite-element-toolbox */
5/* */
6/* Copyright (C) 2002-2011 Zuse Institute Berlin */
7/* */
8/* KASKADE 7 is distributed under the terms of the ZIB Academic License. */
9/* see $KASKADE/academic.txt */
10/* */
11/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
12
13#ifndef UMFPACK_TOOLS_HH_
14#define UMFPACK_TOOLS_HH_
15
16#include <vector>
17
34 int rows,
35 int cols,
36 std::vector<long> const& ridx,
37 std::vector<long> const& cidx,
38 std::vector<double> const& values,
39 std::vector<long>& Ap,
40 std::vector<long>& Ai,
41 std::vector<double>& Az
42);
43
50 int rows,
51 int cols,
52 std::vector<int> const& ridx,
53 std::vector<int> const& cidx,
54 std::vector<double> const& values,
55 std::vector<int>& Ap,
56 std::vector<int>& Ai,
57 std::vector<double>& Az
58);
59
66 std::vector<long> const& Ap,
67 std::vector<long>& Ti
68);
69
76 std::vector<int> const& Ap,
77 std::vector<int>& Ti
78);
79
80#endif /* UMFPACK_TOOLS_HH_ */
void umfpack_triplet_to_col(int rows, int cols, std::vector< long > const &ridx, std::vector< long > const &cidx, std::vector< double > const &values, std::vector< long > &Ap, std::vector< long > &Ai, std::vector< double > &Az)
Triplet to compressed column storage conversion . This is just a frontent to DirectType::UMFPACK util...
void umfpack_col_to_triplet(std::vector< long > const &Ap, std::vector< long > &Ti)
Compressed column storage to triplet storage conversion. This is just a frontent to DirectType::UMFPA...