~ubuntu-branches/ubuntu/maverick/openturns/maverick

« back to all changes in this revision

Viewing changes to validation/src/ValidQuadraticFunction.mws

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2008-11-18 06:32:22 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20081118063222-pa0qncclrerrqkg2
Tags: 0.12.2-1
* New upstream release
* Bug fix: "New upstream release available (0.12.2)", thanks to Jerome
  Robert (Closes: #506005).
* Applied patch by J. Robert.
* debian/control: build-depends on libxml2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{VERSION 6 0 "IBM INTEL LINUX" "6.0" }
 
2
{USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 
 
3
1 0 0 0 0 1 }{CSTYLE "2D Math" -1 2 "Times" 0 1 0 0 0 0 0 0 2 0 0 0 0 
 
4
0 0 1 }{CSTYLE "2D Output" 2 20 "" 0 1 0 0 255 1 0 0 0 0 0 0 0 0 0 1 }
 
5
{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 
 
6
0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Maple Output" 0 11 1 
 
7
{CSTYLE "" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 }3 3 0 -1 -1 -1 0 
 
8
0 0 0 0 0 -1 0 }}
 
9
{SECT 0 {EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 397 "restart:\nwith(Line
 
10
arAlgebra):\ncenter:=<-1,1/2,1>;\nconst:=<-1,2>;\nLinear:=<<1,2,3>|<4,
 
11
5,6>>;\nQuadratic:=array(1..2):\nQuadratic[1]:=<<7,8,9>|<8,10,11>|<9,1
 
12
1,12>>;\nQuadratic[2]:=<<-7,-8,-9>|<-8,-10,-11>|<-9,-11,-12>>;\nPoint:
 
13
=<7,8,9>;\nres:=const+Transpose(Linear).(Point-center)+1/2*<Transpose(
 
14
Point-center).Quadratic[1].(Point-center),Transpose(Point-center).Quad
 
15
ratic[2].(Point-center)>;\nevalf(res);" }}{PARA 11 "" 1 "" {XPPMATH 
 
16
20 "6#>%'centerG-%'RTABLEG6%\"*?27N\"-%'MATRIXG6#7%7#!\"\"7##\"\"\"\"
 
17
\"#7#F1&%'VectorG6#%'columnG" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%&con
 
18
stG-%'RTABLEG6%\"*g72O\"-%'MATRIXG6#7$7#!\"\"7#\"\"#&%'VectorG6#%'colu
 
19
mnG" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#>%'LinearG-%'RTABLEG6%\"*[09O\"
 
20
-%'MATRIXG6#7%7$\"\"\"\"\"%7$\"\"#\"\"&7$\"\"$\"\"'%'MatrixG" }}{PARA 
 
21
11 "" 1 "" {XPPMATH 20 "6#>&%*QuadraticG6#\"\"\"-%'RTABLEG6%\"*gK;O\"-
 
22
%'MATRIXG6#7%7%\"\"(\"\")\"\"*7%F2\"#5\"#67%F3F6\"#7%'MatrixG" }}
 
23
{PARA 11 "" 1 "" {XPPMATH 20 "6#>&%*QuadraticG6#\"\"#-%'RTABLEG6%\"*#
 
24
\\nh8-%'MATRIXG6#7%7%!\"(!\")!\"*7%F2!#5!#67%F3F6!#7%'MatrixG" }}
 
25
{PARA 11 "" 1 "" {XPPMATH 20 "6#>%&PointG-%'RTABLEG6%\"*g6$e8-%'MATRIX
 
26
G6#7%7#\"\"(7#\"\")7#\"\"*&%'VectorG6#%'columnG" }}{PARA 11 "" 1 "" 
 
27
{XPPMATH 20 "6#>%$resG-%'RTABLEG6%\"*+!\\m8-%'MATRIXG6#7$7##\"&01\"\"
 
28
\"%7##!%V**F0&%'VectorG6#%'columnG" }}{PARA 11 "" 1 "" {XPPMATH 20 "6#
 
29
-%'RTABLEG6%\"*k$fm8-%'MATRIXG6#7$7#$\"+++D^E!\"'7#$!+++v&[#F.&%'Vecto
 
30
rG6#%'columnG" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}}
 
31
{MARK "0 0 0" 103 }{VIEWOPTS 1 1 0 1 1 1803 1 1 1 1 }{PAGENUMBERS 0 1 
 
32
2 33 1 1 }{RTABLE_HANDLES 135120720 136071260 136140548 136163260 
 
33
136167492 135831160 136649000 136659364 }{RTABLE 
 
34
M7R0
 
35
I6RTABLE_SAVE/135120720X*%)anythingG6"6"[gl!#%!!!"$"$!""#"""""#F)F&
 
36
}
 
37
{RTABLE 
 
38
M7R0
 
39
I6RTABLE_SAVE/136071260X*%)anythingG6"6"[gl!#%!!!"#"#!""""#F&
 
40
}
 
41
{RTABLE 
 
42
M7R0
 
43
I6RTABLE_SAVE/136140548X,%)anythingG6"6"[gl!"%!!!#'"$"#"""""#""$""%""&""'F&
 
44
}
 
45
{RTABLE 
 
46
M7R0
 
47
I6RTABLE_SAVE/136163260X,%)anythingG6"6"[gl!"%!!!#*"$"$""("")""*F("#5"#6F)F+"#7
 
48
F&
 
49
}
 
50
{RTABLE 
 
51
M7R0
 
52
I6RTABLE_SAVE/136167492X,%)anythingG6"6"[gl!"%!!!#*"$"$!"(!")!"*F(!#5!#6F)F+!#7
 
53
F&
 
54
}
 
55
{RTABLE 
 
56
M7R0
 
57
I6RTABLE_SAVE/135831160X*%)anythingG6"6"[gl!#%!!!"$"$""("")""*F&
 
58
}
 
59
{RTABLE 
 
60
M7R0
 
61
I6RTABLE_SAVE/136649000X*%)anythingG6"6"[gl!#%!!!"#"##"&01"""%#!%V**F)F&
 
62
}
 
63
{RTABLE 
 
64
M7R0
 
65
I6RTABLE_SAVE/136659364X*%)anythingG6"6"[gl!#%!!!"#"#$"+++D^E!"'$!+++v&[#F)F&
 
66
}
 
67