Skip to content

Commit 1a8bcda

Browse files
committed
Remove meaningless comments
1 parent 5566135 commit 1a8bcda

File tree

1,767 files changed

+1492
-10132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,767 files changed

+1492
-10132
lines changed

lib/src/blas/dasum.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
import 'package:dart_lapack/blas.dart';
66

77
double dasum(final int N, Array<double> DX, final int INCX) {
8-
// -- Reference BLAS level1 routine --
9-
// -- Reference BLAS is a software package provided by Univ. of Tennessee, --
10-
// -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
11-
128
if (N <= 0 || INCX <= 0) return 0.0;
139

1410
var DTEMP = 0.0;

lib/src/blas/daxpy.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ void daxpy(
1212
final Array<double> DY_,
1313
final int INCY,
1414
) {
15-
// -- Reference BLAS level1 routine --
16-
// -- Reference BLAS is a software package provided by Univ. of Tennessee, --
17-
// -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
1815
final DX = DX_.having();
1916
final DY = DY_.having();
2017

lib/src/blas/dcabs1.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,5 @@
55
import 'package:dart_lapack/blas.dart';
66

77
double dcabs1(final Complex Z) {
8-
// -- Reference BLAS level1 routine --
9-
// -- Reference BLAS is a software package provided by Univ. of Tennessee, --
10-
// -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
118
return Z.real.abs() + Z.imaginary.abs();
129
}

lib/src/blas/dcopy.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ void dcopy(
1111
final Array<double> DY_,
1212
final int INCY,
1313
) {
14-
// -- Reference BLAS level1 routine --
15-
// -- Reference BLAS is a software package provided by Univ. of Tennessee, --
16-
// -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
1714
final DX = DX_.having();
1815
final DY = DY_.having();
1916

lib/src/blas/ddot.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ double ddot(
1111
final Array<double> DY_,
1212
final int INCY,
1313
) {
14-
// -- Reference BLAS level1 routine --
15-
// -- Reference BLAS is a software package provided by Univ. of Tennessee, --
16-
// -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
1714
final DX = DX_.having();
1815
final DY = DY_.having();
1916

lib/src/blas/dgbmv.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ void dgbmv(
1919
final Array<double> Y_,
2020
final int INCY,
2121
) {
22-
// -- Reference BLAS level2 routine --
23-
// -- Reference BLAS is a software package provided by Univ. of Tennessee, --
24-
// -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
2522
final A = A_.having(ld: LDA);
2623
final X = X_.having();
2724
final Y = Y_.having();

lib/src/blas/dgemm.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ void dgemm(
2323
final Matrix<double> C_,
2424
final int LDC,
2525
) {
26-
// -- Reference BLAS level3 routine --
27-
// -- Reference BLAS is a software package provided by Univ. of Tennessee, --
28-
// -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
2926
final A = A_.having(ld: LDA);
3027
final B = B_.having(ld: LDB);
3128
final C = C_.having(ld: LDC);

lib/src/blas/dgemv.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ void dgemv(
2121
final Array<double> Y_,
2222
final int INCY,
2323
) {
24-
// -- Reference BLAS level2 routine --
25-
// -- Reference BLAS is a software package provided by Univ. of Tennessee, --
26-
// -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
2724
final A = A_.having(ld: LDA);
2825
final X = X_.having();
2926
final Y = Y_.having();

lib/src/blas/dger.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ void dger(
1818
final Matrix<double> A_,
1919
final int LDA,
2020
) {
21-
// -- Reference BLAS level2 routine --
22-
// -- Reference BLAS is a software package provided by Univ. of Tennessee, --
23-
// -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
2421
final X = X_.having();
2522
final Y = Y_.having();
2623
final A = A_.having(ld: LDA);

lib/src/blas/dnrm2.dart

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,12 @@ import 'package:dart_lapack/src/intrinsics/radix.dart';
1212
import 'package:dart_lapack/src/matrix.dart';
1313

1414
double dnrm2(final int n, final Array<double> x_, final int incx) {
15-
// -- Reference BLAS level1 routine (version 3.9.1) --
16-
// -- Reference BLAS is a software package provided by Univ. of Tennessee, --
17-
// -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
1815
final x = x_.having();
1916
const zero = 0.0;
2017
const one = 1.0;
2118
final maxN = huge(0.0);
2219

23-
// .. Blue's scaling constants ..
20+
// Blue's scaling constants
2421
final tsml = pow(radix(0.0), ((minexponent(0.0) - 1) * 0.5).ceil());
2522
final tbig =
2623
pow(radix(0.0), ((maxexponent(0.0) - digits(0.0) + 1) * 0.5).floor());
@@ -30,7 +27,6 @@ double dnrm2(final int n, final Array<double> x_, final int incx) {
3027
pow(radix(0.0), -((maxexponent(0.0) + digits(0.0) - 1) * 0.5).ceil());
3128

3229
// Quick return if possible
33-
3430
if (n <= 0) return zero;
3531

3632
// Compute the sum of squares in 3 accumulators:
@@ -40,7 +36,6 @@ double dnrm2(final int n, final Array<double> x_, final int incx) {
4036
// The thresholds and multipliers are
4137
// tbig -- values bigger than this are scaled down by sbig
4238
// tsml -- values smaller than this are scaled up by ssml
43-
4439
var notbig = true;
4540
var asml = zero;
4641
var amed = zero;
@@ -61,19 +56,16 @@ double dnrm2(final int n, final Array<double> x_, final int incx) {
6156

6257
// Combine abig and amed or amed and asml if more than one
6358
// accumulator was used.
64-
6559
final double scl, sumsq;
6660
if (abig > zero) {
6761
// Combine abig and amed if abig > 0.
68-
6962
if ((amed > zero) || (amed > maxN) || amed.isNaN) {
7063
abig += (amed * sbig) * sbig;
7164
}
7265
scl = one / sbig;
7366
sumsq = abig;
7467
} else if (asml > zero) {
7568
// Combine amed and asml if asml > 0.
76-
7769
if ((amed > zero) || (amed > maxN) || amed.isNaN) {
7870
amed = sqrt(amed);
7971
asml = sqrt(asml) / ssml;
@@ -86,7 +78,6 @@ double dnrm2(final int n, final Array<double> x_, final int incx) {
8678
}
8779
} else {
8880
// Otherwise all values are mid-range
89-
9081
scl = one;
9182
sumsq = amed;
9283
}

0 commit comments

Comments
 (0)