/[escript]/branches/diaplayground/cusplibrary/cusp/verify.h
ViewVC logotype

Contents of /branches/diaplayground/cusplibrary/cusp/verify.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4955 - (show annotations)
Tue May 20 04:33:15 2014 UTC (6 years ago) by caltinay
File MIME type: text/plain
File size: 1079 byte(s)
added pristine copy of cusplibrary (apache license) to be used by ripley.

1 /*
2 * Copyright 2008-2009 NVIDIA Corporation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 /*! \file verify.h
18 * \brief Validate matrix format
19 */
20
21 #pragma once
22
23 #include <cusp/detail/config.h>
24
25 namespace cusp
26 {
27
28 template <typename MatrixType>
29 bool is_valid_matrix(const MatrixType& A);
30
31 template <typename MatrixType, typename OutputStream>
32 bool is_valid_matrix(const MatrixType& A, OutputStream& ostream);
33
34 template <typename MatrixType>
35 void assert_is_valid_matrix(const MatrixType& A);
36
37 } // end namespace cusp
38
39 #include <cusp/detail/verify.inl>
40

  ViewVC Help
Powered by ViewVC 1.1.26