ROOT
6.07/01
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
math
minuit2
src
LaInnerProduct.cxx
Go to the documentation of this file.
1
// @(#)root/minuit2:$Id$
2
// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4
/**********************************************************************
5
* *
6
* Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7
* *
8
**********************************************************************/
9
10
#include "
Minuit2/LAVector.h
"
11
12
namespace
ROOT {
13
14
namespace
Minuit2 {
15
16
17
double
mnddot
(
unsigned
int
,
const
double
*,
int
,
const
double
*,
int
);
18
19
double
inner_product
(
const
LAVector
&
v1
,
const
LAVector
& v2) {
20
// calculate inner (dot) product of two vectors using mnddot function
21
return
mnddot
(v1.
size
(), v1.
Data
(), 1, v2.
Data
(), 1);
22
}
23
24
}
// namespace Minuit2
25
26
}
// namespace ROOT
v1
const Double_t * v1
Definition:
TArcBall.cxx:33
ROOT::Minuit2::LAVector::size
unsigned int size() const
Definition:
LAVector.h:198
ROOT::Minuit2::LAVector
Definition:
LAVector.h:33
ROOT::Minuit2::inner_product
double inner_product(const LAVector &, const LAVector &)
Definition:
LaInnerProduct.cxx:19
ROOT::Minuit2::mnddot
double mnddot(unsigned int, const double *, int, const double *, int)
Definition:
mnddot.cxx:20
ROOT::Minuit2::LAVector::Data
const double * Data() const
Definition:
LAVector.h:194
LAVector.h