RedAgate's math library.
Finite fields, Finite extension fields and Polynomial calculation; Error correction (Reed-Solomon/RS Coding, BCH Coding, CRC32)
$ npm install red-agate-util --save$ npm install red-agate-math --save
To import this from your code, you need to use
(We have used the
importstatements for doing the tree-shaking. The
importstatements in the
.mjsfiles cannot import from the vanilla node.js.)
You can also import from the
.mjsfile on a node with the
webpack >= 5
If you get the error:
Module not found: Error: Can't resolve '(importing/path/to/filename)' in '(path/to/node_modules/path/to/dirname)' Did you mean '(filename).js'?`
Add following setting to your
webpack.config.js.test: /\.m?js/resolve:fullySpecified: false
webpack >= 5, the extension in the request is mandatory for it to be fully specified if the origin is a '.mjs' file or a '.js' file where the package.json contains '"type": "module"'.
Copyright (c) 2017, Shellyl_N and Authors.