1
1
/**
2
2
* @license Apache-2.0
3
3
*
4
- * Copyright (c) 2022 The Stdlib Authors.
4
+ * Copyright (c) 2018 The Stdlib Authors.
5
5
*
6
6
* Licensed under the Apache License, Version 2.0 (the "License");
7
7
* you may not use this file except in compliance with the License.
26
26
var resolve = require ( 'path' ) . resolve ;
27
27
var readFileSync = require ( '@stdlib/fs/read-file' ) . sync ;
28
28
var writeFileSync = require ( '@stdlib/fs/write-file' ) . sync ;
29
- var currentYear = require ( '@stdlib/time/current-year' ) ;
30
29
var substringBefore = require ( '@stdlib/string/substring-before' ) ;
31
30
var substringAfter = require ( '@stdlib/string/substring-after' ) ;
32
31
var format = require ( '@stdlib/string/format' ) ;
33
- var licenseHeader = require ( '@stdlib/_tools/licenses/header' ) ;
34
- var compile = require ( '@stdlib/math/base/tools/evalpoly-compile' ) ;
35
32
var compileC = require ( '@stdlib/math/base/tools/evalpoly-compile-c' ) ;
36
33
37
34
@@ -50,13 +47,6 @@ var Q = [
50
47
1.479819860511658591e-01 // 3FC2F112 DF3E5244
51
48
] ;
52
49
53
- // Header to add to output files:
54
- var header = licenseHeader ( 'Apache-2.0' , 'js' , {
55
- 'year' : currentYear ( ) ,
56
- 'copyright' : 'The Stdlib Authors'
57
- } ) ;
58
- header += '\n/* This is a generated file. Do not edit directly. */\n' ;
59
-
60
50
61
51
// FUNCTIONS //
62
52
@@ -103,14 +93,6 @@ function main() {
103
93
'encoding' : 'utf8'
104
94
} ;
105
95
106
- fpath = resolve ( __dirname , '..' , 'lib' , 'polyval_p.js' ) ;
107
- str = header + compile ( P ) ;
108
- writeFileSync ( fpath , str , opts ) ;
109
-
110
- fpath = resolve ( __dirname , '..' , 'lib' , 'polyval_q.js' ) ;
111
- str = header + compile ( Q ) ;
112
- writeFileSync ( fpath , str , opts ) ;
113
-
114
96
copts = {
115
97
'dtype' : 'double' ,
116
98
'name' : ''
0 commit comments