forked from stdlib-js/stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrepl.txt
60 lines (45 loc) · 1.22 KB
/
repl.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{{alias}}( a, b )
Constructs a Givens plane rotation from two double-precision floating-point
numbers.
Parameters
----------
a: float
Rotational elimination parameter.
b: float
Rotational elimination parameter.
Returns
-------
out: Float64Array
Computed values.
Examples
--------
> var out = {{alias}}( 0.0, 2.0 )
<Float64Array>[ 2.0, 1.0, 0.0, 1.0 ]
{{alias}}.assign( a, b, out, stride, offset )
Constructs a Givens plane rotation from two double-precision floating-point
numbers and assigns the results to an output array.
Parameters
----------
a: float
Rotational elimination parameter.
b: float
Rotational elimination parameter.
out: Float64Array
Output array.
stride: integer
Output array stride.
offset: integer
Output array index offset.
Returns
-------
out: Float64Array
Output array.
Examples
--------
> var out = new {{alias:@stdlib/array/float64}}( 4 );
> var y = {{alias}}.assign( 0.0, 2.0, out, 1, 0 )
<Float64Array>[ 2.0, 1.0, 0.0, 1.0 ]
> var bool = ( y === out )
true
See Also
--------