Skip to content
Merged
Show file tree
Hide file tree
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 @@ -49,7 +49,7 @@ interface ChebyshevSeries {
* @returns evaluated Chebyshev series
*
* @example
* var v = chebyshevSeries( 1.0, [ 1.0, 0.5 ] ); // 1*T_0(1/2) + 0.5*T_1(1/2)
* var v = chebyshevSeries( 1.0, [ 1.0, 0.5 ] );
* // returns 0.75
*/
( x: number, c: Collection<number> ): number;
Expand Down Expand Up @@ -91,11 +91,11 @@ interface ChebyshevSeries {
* @returns evaluated Chebyshev series
*
* @example
* var v = chebyshevSeries( 1.0, [ 1.0, 0.5 ] ); // 1*T_0(1/2) + 0.5*T_1(1/2)
* var v = chebyshevSeries( 1.0, [ 1.0, 0.5 ] );
* // returns 0.75
*
* @example
* var evaluate = chebyshevSeries.factory( [ 1.0, 0.5 ] ); // 1*T_0(1/2) + 0.5*T_1(1/2)
* var evaluate = chebyshevSeries.factory( [ 1.0, 0.5 ] );
*
* var v = evaluate( 1.0 );
* // returns 0.75
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ interface ChebyshevSeries {
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var v = chebyshevSeriesf( 1.0, new Float32Array( [ 1.0, 0.5 ] ) ); // 1*T_0(1/2) + 0.5*T_1(1/2)
* var v = chebyshevSeriesf( 1.0, new Float32Array( [ 1.0, 0.5 ] ) );
* // returns 0.75
*/
( x: number, c: Collection<number> ): number;
Expand Down Expand Up @@ -97,13 +97,13 @@ interface ChebyshevSeries {
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var v = chebyshevSeriesf( 1.0, new Float32Array( [ 1.0, 0.5 ] ) ); // 1*T_0(1/2) + 0.5*T_1(1/2)
* var v = chebyshevSeriesf( 1.0, new Float32Array( [ 1.0, 0.5 ] ) );
* // returns 0.75
*
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var evaluate = chebyshevSeriesf.factory( new Float32Array( [ 1.0, 0.5 ] ) ); // 1*T_0(1/2) + 0.5*T_1(1/2)
* var evaluate = chebyshevSeriesf.factory( new Float32Array( [ 1.0, 0.5 ] ) );
*
* var v = evaluate( 1.0 );
* // returns 0.75
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ interface EvalRational {
* // returns -6.0
*
* @example
* // 2x^3 + 4x^2 - 5x^1 - 6x^0 => degree 4
* // 2x^3 + 4x^2 - 5x^1 - 6x^0 => degree 3
* var P = [ -6.0, -5.0, 4.0, 2.0 ];
*
* // 0.5x^1 + 3x^0 => degree 2
* // 0.5x^1 + 3x^0 => degree 1
* var Q = [ 3.0, 0.5, 0.0, 0.0 ]; // zero-padded
*
* var v = evalrational( P, Q, 6.0 ); // => ( -6*6^0 - 5*6^1 + 4*6^2 + 2*6^3 ) / ( 3*6^0 + 0.5*6^1 + 0*6^2 + 0*6^3 ) = (-6-30+144+432)/(3+3)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ interface EvalRational {
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* // 2x^3 + 4x^2 - 5x^1 - 6x^0 => degree 4
* // 2x^3 + 4x^2 - 5x^1 - 6x^0 => degree 3
* var P = new Float32Array( [ -6.0, -5.0, 4.0, 2.0 ] );
*
* // 0.5x^1 + 3x^0 => degree 2
* // 0.5x^1 + 3x^0 => degree 1
* var Q = new Float32Array( [ 3.0, 0.5, 0.0, 0.0 ] ); // zero-padded
*
* var v = evalrationalf( P, Q, 6.0 ); // => ( -6*6^0 - 5*6^1 + 4*6^2 + 2*6^3 ) / ( 3*6^0 + 0.5*6^1 + 0*6^2 + 0*6^3 ) = (-6-30+144+432)/(3+3)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ interface Hermitepoly {
/**
* Returns a function for evaluating a physicist's Hermite polynomial.
*
* @param n - polynomial degree
* @param n - nonnegative polynomial degree
* @returns function for evaluating a physicist's Hermite polynomial
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ interface NormHermitePoly {
/**
* Returns a function for evaluating a normalized Hermite polynomial using double-precision floating-point arithmetic.
*
* @param n - polynomial degree
* @param n - nonnegative polynomial degree
* @returns function for evaluating a normalized Hermite polynomial
*
* @example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ interface NormHermitePoly {
/**
* Returns a function for evaluating a normalized Hermite polynomial using single-precision floating-point arithmetic.
*
* @param n - polynomial degree
* @param n - nonnegative polynomial degree
* @returns function for evaluating a normalized Hermite polynomial
*
* @example
Expand Down