time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

single_coefficient.js.txt (271B)


      1 'use strict';
      2 
      3 // MAIN //
      4 
      5 /**
      6 * Evaluates a polynomial.
      7 *
      8 * @private
      9 * @param {number} x - value at which to evaluate the polynomial
     10 * @returns {number} evaluated polynomial
     11 */
     12 function evalpoly() {
     13 	return {{coefficient}};
     14 }
     15 
     16 
     17 // EXPORTS //
     18 
     19 module.exports = evalpoly;