Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
MVmultiply.h
Go to the documentation of this file.
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
21#pragma once
22
23#include <cusp/detail/config.h>
24
25namespace cusp
26{
27
28template <typename LinearOperator,
29 typename MatrixOrVector1,
30 typename MatrixOrVector2>
31void MVmultiply(LinearOperator& A,
32 MatrixOrVector1& B,
33 MatrixOrVector2& C);
34
35template <typename LinearOperator,
36 typename MatrixOrVector1,
37 typename MatrixOrVector2>
38void OVmultiply(LinearOperator& A,
39 MatrixOrVector1& B,
40 MatrixOrVector2& C);
41
42
43template <typename MatrixOrVector,
44 typename MatrixOrVector1,
45 typename MatrixOrVector2>
46void MVdot(const MatrixOrVector& A,
47 const MatrixOrVector1& B,
48 MatrixOrVector2& C);
49
50template <typename ValueType,
51 typename MatrixOrVector1,
52 typename MatrixOrVector2>
53void axpby_array(const ValueType& a,
54 const MatrixOrVector1& x,
55 const ValueType& b,
56 const MatrixOrVector1& y,
57 MatrixOrVector2& z);
58
59
60
64} // end namespace cusp
65
66#include <cusp/detail/MVmultiply.inl>
void MVmultiply(LinearOperator &A, MatrixOrVector1 &B, MatrixOrVector2 &C)
void axpby_array(const ValueType &a, const MatrixOrVector1 &x, const ValueType &b, const MatrixOrVector1 &y, MatrixOrVector2 &z)
void MVdot(const MatrixOrVector &A, const MatrixOrVector1 &B, MatrixOrVector2 &C)
void OVmultiply(LinearOperator &A, MatrixOrVector1 &B, MatrixOrVector2 &C)