4
* @brief Kronecker implements the Kronecker product of two vectors
6
* (C) Copyright 2005-2007 EDF-EADS-Phimeca
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License as published by the Free Software Foundation; either
11
* version 2.1 of the License.
13
* This library is distributed in the hope that it will be useful
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Lesser General Public License for more details.
18
* You should have received a copy of the GNU Lesser General Public
19
* License along with this library; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22
* @author: $LastChangedBy: dutka $
23
* @date: $LastChangedDate: 2008-06-26 13:50:17 +0200 (jeu, 26 jun 2008) $
24
* Id: $Id: Kronecker.cxx 862 2008-06-26 11:50:17Z dutka $
28
#include "NumericalPoint.hxx"
40
Matrix kronecker(NumericalPoint & vect1, NumericalPoint & vect2)
42
int m = vect1.getDimension();
43
int n = vect2.getDimension();
48
DGER_F77(&m, &n, &alpha, &vect1[0], &one, &vect2[0], &one, &A(0,0), &m);
53
} /* namespace Type */
54
} /* namespace Base */
55
} /* namespace OpenTURNS */