|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
264 bytes
|
| Line | |
|---|
| 1 | "use strict";
|
|---|
| 2 |
|
|---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
|---|
| 4 | value: true
|
|---|
| 5 | });
|
|---|
| 6 | exports.default = _default;
|
|---|
| 7 | function _default(interpolator, n) {
|
|---|
| 8 | var samples = new Array(n);
|
|---|
| 9 | for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1));
|
|---|
| 10 | return samples;
|
|---|
| 11 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.