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
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/blas/ext/base/drss/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,8 @@ var Float64Array = require( '@stdlib/array/float64' );
81
81
var x =newFloat64Array( [ 1.0, 2.0, 2.0, -7.0, -2.0, 3.0, 4.0, 2.0 ] );
82
82
var y =newFloat64Array( [ 2.0, 1.0, 2.0, 1.0, -2.0, 2.0, 3.0, 4.0 ] );
83
83
84
-
var z =drss( x.length, x, 1, y, 1 );
85
-
// returns 72.0
84
+
var z =drss( 4, x, 2, y, 2 );
85
+
// returns 2.0
86
86
```
87
87
88
88
Note that indexing is relative to the first index. To introduce an offset, use [`typed array`][mdn-typed-array] views.
@@ -104,7 +104,7 @@ var z = drss( 4, x1, 2, y1, 2 );
104
104
105
105
#### drss.ndarray( N, x, strideX, offsetX, y, strideY, offsetY )
106
106
107
-
Computes the [residual sum of squares][wikipedia-residual-sum-of-squares] of two double-precision floating-point strided arrays and alternative indexing semantics.
107
+
Computes the [residual sum of squares][wikipedia-residual-sum-of-squares] of two double-precision floating-point strided arrays using alternative indexing semantics.
Computes the [residual sum of squares][wikipedia-residual-sum-of-squares] of two double-precision floating-point strided arrays and alternative indexing semantics.
233
+
Computes the [residual sum of squares][wikipedia-residual-sum-of-squares] of two double-precision floating-point strided arrays using alternative indexing semantics.
0 commit comments