Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
// MAIN //

/**
* Returns an iterator which generates a periodic sinc waveform.

Check warning on line 36 in lib/node_modules/@stdlib/simulate/iter/periodic-sinc/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "sinc"
*
* ## Method
*
* - The periodic sinc function, or Dirichlet function, is defined as

Check warning on line 40 in lib/node_modules/@stdlib/simulate/iter/periodic-sinc/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "sinc"
*
* ```tex
* D_N(x; A) = \begin{cases}
Expand All @@ -48,7 +48,7 @@
*
* where, for odd \\( N \\), the waveform period is \\( 2\pi \\), and, for even \\( N \\), the waveform period is \\( 4\pi \\).
*
* - In order to evaluate the periodic sinc function in terms of an iteration number \\( t \\) and a specified period (period \\( \tau \\)), rather than radians, for odd \\( N \\), we define

Check warning on line 51 in lib/node_modules/@stdlib/simulate/iter/periodic-sinc/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unknown word: "sinc"
*
* ```tex
* x = \frac{2\pi(t-\varphi)}{\tau}
Expand All @@ -64,7 +64,7 @@
*
* @param {PositiveInteger} n - order
* @param {Options} [options] - function options
* @param {PositiveInteger} [options.period=10] - number of iterations before a waveform repeats
* @param {PositiveInteger} [options.period=100] - number of iterations before a waveform repeats
* @param {NonNegativeNumber} [options.amplitude=1.0] - peak amplitude
* @param {integer} [options.offset=0] - phase offset (in units of iterations; zero-based)
* @param {NonNegativeInteger} [options.iter=1e308] - number of iterations
Expand Down
Loading