repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lilypond-1.3.76
[lilypond.git]
/
hdr
/
leastsquares.hh
blob
35b1e1d34b912f0c71bcd52fac37e670ea88bcf4
1
/*
2
leastsquare.hh -- part of LilyPond
3
4
(c) 1996,97 Han-Wen Nienhuys
5
*/
6
7
#ifndef LEASTSQUARE_HH
8
#define LEASTSQUARE_HH
9
#include
"varray.hh"
10
#include
"offset.hh"
11
12
13
/**
14
Least squares minimisation in 2 variables.
15
*/
16
struct
Least_squares
{
17
Array
<
Offset
>
input
;
18
void
minimise
(
Real
&
coef
,
Real
&
offset
);
19
void
OK
()
const
;
20
};
21
22
23
#endif
// LEASTSQUARE_HH
24