supernova: fixes for boost-1.49 and gcc-4.7
[supercollider.git] / Help / UnaryOps / asin.html
blob836de3caf41c1a112daf2cf2e2c5057d04fa7bc5
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <meta http-equiv="Content-Style-Type" content="text/css">
6 <title></title>
7 <meta name="Generator" content="Cocoa HTML Writer">
8 <meta name="CocoaVersion" content="949.43">
9 <style type="text/css">
10 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica}
11 p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
12 p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; color: #0021e7}
13 p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #0034a8; min-height: 16.0px}
14 p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco}
15 p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; min-height: 12.0px}
16 p.p7 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #ad140d}
17 p.p8 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.0px Monaco; color: #9d1c12}
18 span.s1 {font: 18.0px Helvetica}
19 span.s2 {text-decoration: underline}
20 span.s3 {color: #ad140d}
21 span.s4 {color: #000000}
22 span.s5 {color: #3d6d1d}
23 span.s6 {text-decoration: underline ; color: #002fe0}
24 span.s7 {color: #0026b4}
25 span.s8 {color: #001bb9}
26 span.Apple-tab-span {white-space:pre}
27 </style>
28 </head>
29 <body>
30 <p class="p1"><span class="s1"><b>asin<span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></b></span><b>arcsine</b></p>
31 <p class="p2"><br></p>
32 <p class="p1"><b>a.asin</b></p>
33 <p class="p1"><b>asin(a)</b></p>
34 <p class="p2"><br></p>
35 <p class="p2"><br></p>
36 <p class="p2"><br></p>
37 <p class="p3"><span class="s2"><a href="../Math/SimpleNumber.html">SimpleNumber</a></span></p>
38 <p class="p4"><br></p>
39 <p class="p5">asin(1);</p>
40 <p class="p5">1.asin;</p>
41 <p class="p6"><br></p>
42 <p class="p5">asin(1) == 0.5pi; <span class="s3">// true</span></p>
43 <p class="p7"><span class="s4">asin(2); </span>// nan: no value of absolute value greater 1.0</p>
44 <p class="p6"><br></p>
45 <p class="p6"><br></p>
46 <p class="p3"><span class="s2"><a href="../Collections/SequenceableCollection.html">SequenceableCollection</a></span></p>
47 <p class="p6"><br></p>
48 <p class="p5">[0.5, 0.8, [-1, 1]].asin;</p>
49 <p class="p7">// asin is the reverse of sin:</p>
50 <p class="p5">asin(sin([-1, -0.5, 0, 0.5, 1]));</p>
51 <p class="p6"><br></p>
52 <p class="p3"><span class="s2"><a href="../Core/Symbol.html">Symbol</a></span></p>
53 <p class="p6"><br></p>
54 <p class="p8"><span class="s5">\foo</span><span class="s4">.asin; </span>// returns itself. this is used in Envelopes see <a href="../Control/Env.html"><span class="s6">Env</span></a>.</p>
55 <p class="p6"><br></p>
56 <p class="p4"><br></p>
57 <p class="p3"><span class="s2"><a href="../Core/Kernel/Function.html">Function</a></span></p>
58 <p class="p4"><br></p>
59 <p class="p5">f = asin({<span class="s7">|x|</span> 1 / x });</p>
60 <p class="p5">f.value((0..1000).normalize(1, 8)).plot;</p>
61 <p class="p6"><br></p>
62 <p class="p3"><span class="s2"><a href="../UGens/UGen.html">UGen</a></span></p>
63 <p class="p6"><br></p>
64 <p class="p5">(</p>
65 <p class="p5">{</p>
66 <p class="p5"><span class="Apple-tab-span"> </span><span class="s8">var</span> a = <span class="s8">LFSaw</span>.ar(100);</p>
67 <p class="p5"><span class="Apple-tab-span"> </span>[a, a.asin]</p>
68 <p class="p5">}.plot(minval: -2pi, maxval: 2pi)</p>
69 <p class="p5">)</p>
70 <p class="p6"><br></p>
71 <p class="p5">(</p>
72 <p class="p5">{</p>
73 <p class="p5"><span class="Apple-tab-span"> </span><span class="s8">var</span> a;</p>
74 <p class="p5"><span class="Apple-tab-span"> </span>a = <span class="s8">Line</span>.ar(-1, 1, 0.01);</p>
75 <p class="p5"><span class="Apple-tab-span"> </span>(a.asin / 0.5pi) - 1</p>
76 <p class="p5">}.plot(minval: -2pi, maxval: 2pi)</p>
77 <p class="p5">)</p>
78 <p class="p6"><br></p>
79 </body>
80 </html>