You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Licensed under the Apache License, Version 2.0 (the "License");
8
+
you may not use this file except in compliance with the License.
9
+
You may obtain a copy of the License at
10
+
11
+
http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+
Unless required by applicable law or agreed to in writing, software
14
+
distributed under the License is distributed on an "AS IS" BASIS,
15
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+
See the License for the specific language governing permissions and
17
+
limitations under the License.
18
+
19
+
-->
20
+
21
+
[![Open in GitHub Codespaces][github-codespaces-image]][github-codespaces-url]
22
+
23
+
[![Open in Dev Containers][dev-container-image]][dev-container-url]
24
+
25
+
# Development Container
26
+
27
+
> Development container for `stdlib`.
28
+
29
+
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
30
+
31
+
<sectionclass="intro">
32
+
33
+
This folder includes configuration for developing the project in a local container or using [GitHub Codespaces][github-codespaces].
34
+
35
+
</section>
36
+
37
+
<!-- /.intro -->
38
+
39
+
<!-- Section to include usage notes. -->
40
+
41
+
<sectionclass="usage">
42
+
43
+
</section>
44
+
45
+
<!-- /.usage -->
46
+
47
+
<!-- Section to include usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
48
+
49
+
<sectionclass="notes">
50
+
51
+
</section>
52
+
53
+
<!-- /.notes -->
54
+
55
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
The `N` and `stride` parameters determine which elements in `x` are accessed at runtime. For example, to access every other element in `x`,
60
+
The `N` and stride parameters determine which elements in the strided array are accessed at runtime. For example, to access every other element in `x`,
var x1 =newFloat64Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
82
80
83
-
varN=floor( x0.length/2 );
84
-
85
-
var v =dapxsum( N, 5.0, x1, 2 );
81
+
var v =dapxsum( 4, 5.0, x1, 2 );
86
82
// returns 25.0
87
83
```
88
84
@@ -104,16 +100,14 @@ The function has the following additional parameters:
104
100
105
101
-**offset**: starting index for `x`.
106
102
107
-
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying `buffer`, the `offset` parameter supports indexing semantics based on a starting index. For example, to access every other value in `x` starting from the second value
103
+
While [`typed array`][mdn-typed-array] views mandate a view offset based on the underlying `buffer`, the offset parameter supports indexing semantics based on a starting index. For example, to access every other value in `x` starting from the second value
0 commit comments