You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
camelcase,"\ncamelcase( str )\n Converts a string to camel case.\n\n Parameters\n ----------\n str: string\n Input string.\n\n Returns\n -------\n out: string\n Camel-cased string.\n\n Examples\n --------\n > var out = camelcase( 'Hello World!' )\n 'helloWorld'\n > out = camelcase( 'beep boop' )\n 'beepBoop'\n\n See Also\n --------\n constantcase, kebabcase, pascalcase, snakecase"
2627
2627
capitalize,"\ncapitalize( str )\n Capitalizes the first character in a string.\n\n Parameters\n ----------\n str: string\n Input string.\n\n Returns\n -------\n out: string\n Capitalized string.\n\n Examples\n --------\n > var out = capitalize( 'beep' )\n 'Beep'\n > out = capitalize( 'Boop' )\n 'Boop'\n\n See Also\n --------\n uncapitalize, uppercase\n"
2628
-
capitalizeKeys,"\ncapitalizeKeys( obj )\n Converts the first letter of each object key to uppercase.\n\n The function only transforms own properties. Hence, the function does not\n transform inherited properties.\n\n The function shallow copies key values.\n\n Parameters\n ----------\n obj: Object\n Source object.\n\n Returns\n -------\n out: Object\n New object.\n\n Examples\n --------\n > var obj = { 'aa': 1, 'bb': 2 };\n > var out = capitalizeKeys( obj )\n { 'Aa': 1, 'Bb': 2 }\n\n See Also\n --------\n uncapitalizeKeys\n"
2628
+
capitalizeKeys,"\ncapitalizeKeys( obj )\n Converts the first letter of each object key to uppercase.\n\n The function only transforms own properties. Hence, the function does not\n transform inherited properties.\n\n The function shallow copies key values.\n\n Parameters\n ----------\n obj: Object\n Source object.\n\n Returns\n -------\n out: Object\n New object.\n\n Examples\n --------\n > var obj = { 'aa': 1, 'bb': 2 };\n > var out = capitalizeKeys( obj )\n { 'Aa': 1, 'Bb': 2 }\n\n See Also\n --------\n uncapitalizeKeys, uppercaseKeys\n"
CBRT_EPS,"\nCBRT_EPS\n Cube root of double-precision floating-point epsilon.\n\n Examples\n --------\n > CBRT_EPS\n 0.0000060554544523933395\n\n See Also\n --------\n EPS, SQRT_EPS\n"
2631
2631
CDC_NCHS_US_BIRTHS_1969_1988,"\nCDC_NCHS_US_BIRTHS_1969_1988()\n Returns US birth data from 1969 to 1988, as provided by the Center for\n Disease Control and Prevention's National Center for Health Statistics.\n\n Returns\n -------\n out: Array<Object>\n Birth data.\n\n Examples\n --------\n > var data = CDC_NCHS_US_BIRTHS_1969_1988()\n [ {...}, ... ]\n\n See Also\n --------\n CDC_NCHS_US_BIRTHS_1994_2003, SSA_US_BIRTHS_2000_2014\n"
forEachRightAsync.factory,"\nforEachRightAsync.factory( [options,] fcn )\n Returns a function which invokes a function once for each element in a\n collection, iterating from right to left.\n\n Parameters\n ----------\n options: Object (optional)\n Function options.\n\n options.limit: integer (optional)\n Maximum number of pending invocations. Default: Infinity.\n\n options.series: boolean (optional)\n Boolean indicating whether to process each collection element\n sequentially. Default: false.\n\n options.thisArg: any (optional)\n Execution context.\n\n fcn: Function\n The function to invoke for each element in a collection.\n\n Returns\n -------\n out: Function\n A function which invokes a function for each element in a collection.\n\n Examples\n --------\n > function onDuration( value, next ) {\n ... setTimeout( onTimeout, value );\n ... function onTimeout() {\n ... console.log( value );\n ... next();\n ... }\n ... };\n > var opts = { 'series': true };\n > var f = forEachRightAsync.factory( opts, onDuration );\n > function done( error ) {\n ... if ( error ) {\n ... throw error;\n ... }\n ... console.log( 'Done.' );\n ... };\n > var arr = [ 1000, 2500, 3000 ];\n > f( arr, done )\n 3000\n 2500\n 1000\n Done.\n > arr = [ 1000, 1500, 2000 ];\n > f( arr, done )\n 2000\n 1500\n 1000\n Done.\n\n See Also\n --------\n forEachAsync, forEachRight"
3085
3085
forIn,"\nforIn( obj, fcn[, thisArg] )\n Invokes a function for each own and inherited enumerable property of an\n object.\n\n When invoked, the function is provided three arguments:\n\n - value: object property value.\n - key: object property.\n - obj: the input object.\n\n To terminate iteration before visiting all properties, the provided function\n must explicitly return `false`.\n\n Property iteration order is *not* guaranteed.\n\n Parameters\n ----------\n obj: Object\n Input object, including arrays, typed arrays, and other collections.\n\n fcn: Function\n The function to invoke for each own enumerable property.\n\n thisArg: any (optional)\n Execution context.\n\n Returns\n -------\n out: Object\n Input object.\n\n Examples\n --------\n > function logger( v, k ) { console.log( '%s: %d', k, v ); };\n > function Foo() { return this; };\n > Foo.prototype.beep = 'boop';\n > var obj = new Foo();\n > forIn( obj, logger )\n beep: boop\n\n See Also\n --------\n forEach, forOwn\n"
3086
3086
format,"\nformat( str, ...args )\n Insert supplied variable values into a format string.\n\n Parameters\n ----------\n str: string\n Input string.\n\n args: ...any\n Variable values.\n\n Returns\n -------\n out: string\n Formatted string.\n\n Examples\n --------\n > var out = format( 'Hello, %s!', 'World' )\n 'Hello, World!'\n\n > out = format( '%s %s', 'Hello', 'World' )\n 'Hello World'\n\n > out = format( 'Pi: %.2f', PI )\n 'Pi: 3.14'\n\n"
3087
-
forOwn,"\nforOwn( obj, fcn[, thisArg] )\n Invokes a function for each own enumerable property of an object.\n\n When invoked, the function is provided three arguments:\n\n - value: object property value.\n - key: object property.\n - obj: the input object.\n\n To terminate iteration before visiting all properties, the provided function\n must explicitly return `false`.\n\n The function determines the list of own enumerable properties *before*\n invoking the provided function. Hence, any modifications made to the input\n object *after* calling this function (such as adding and removing\n properties) will *not* affect the list of visited properties.\n\n Property iteration order is *not* guaranteed.\n\n Parameters\n ----------\n obj: Object\n Input object, including arrays, typed arrays, and other collections.\n\n fcn: Function\n The function to invoke for each own enumerable property.\n\n thisArg: any (optional)\n Execution context.\n\n Returns\n -------\n out: Object\n Input object.\n\n Examples\n --------\n > function logger( v, k ) { console.log( '%s: %d', k, v ); };\n > var obj = { 'a': 1, 'b': 2, 'c': 3, 'd': 4 };\n > forOwn( obj, logger )\n a: 1\n b: 2\n c: 3\n d: 4\n\n See Also\n --------\n forEach, forIn\n"
3087
+
forOwn,"\nforOwn( obj, fcn[, thisArg] )\n Invokes a function for each own enumerable property of an object.\n\n When invoked, the function is provided three arguments:\n\n - value: object property value.\n - key: object property.\n - obj: the input object.\n\n To terminate iteration before visiting all properties, the provided function\n must explicitly return `false`.\n\n The function determines the list of own enumerable properties *before*\n invoking the provided function. Hence, any modifications made to the input\n object *after* calling this function (such as adding and removing\n properties) will *not* affect the list of visited properties.\n\n Property iteration order is *not* guaranteed.\n\n Parameters\n ----------\n obj: Object\n Input object, including arrays, typed arrays, and other collections.\n\n fcn: Function\n The function to invoke for each own enumerable property.\n\n thisArg: any (optional)\n Execution context.\n\n Returns\n -------\n out: Object\n Input object.\n\n Examples\n --------\n > function logger( v, k ) { console.log( '%s: %d', k, v ); };\n > var obj = { 'a': 1, 'b': 2, 'c': 3, 'd': 4 };\n > forOwn( obj, logger )\n a: 1\n b: 2\n c: 3\n d: 4\n\n See Also\n --------\n forEach\n"
3088
3088
FOURTH_PI,"\nFOURTH_PI\n One fourth times the mathematical constant `π`.\n\n Examples\n --------\n > FOURTH_PI\n 7.85398163397448309616e-1\n\n See Also\n --------\n PI\n"
3089
3089
FOURTH_ROOT_EPS,"\nFOURTH_ROOT_EPS\n Fourth root of double-precision floating-point epsilon.\n\n Examples\n --------\n > FOURTH_ROOT_EPS\n 0.0001220703125\n\n See Also\n --------\n EPS\n"
3090
3090
FRB_SF_WAGE_RIGIDITY,"\nFRB_SF_WAGE_RIGIDITY()\n Returns wage rates for U.S. workers that have not changed jobs within the\n year.\n\n Each array element has the following fields:\n\n - date: collection date (month/day/year; e.g., 01/01/1980).\n - all_workers: wage rates for hourly and non-hourly workers.\n - hourly_workers: wage rates for hourly workers.\n - non_hourly_workers: wage rates for non-hourly workers.\n - less_than_high_school: wage rates for workers with less than a high school\n education.\n - high_school: wage rates for workers with a high school education.\n - some_college: wage rates for workers with some college education.\n - college: wage rates for workers with a college education.\n - construction: wage rates for workers in the construction industry.\n - finance: wage rates for workers in the finance industry.\n - manufacturing: wage rates for workers in the manufacturing industry.\n\n Returns\n -------\n out: Array<Object>\n Wage rates.\n\n Examples\n --------\n > var data = FRB_SF_WAGE_RIGIDITY()\n [ {...}, {...}, ... ]\n\n References\n ----------\n - Federal Reserve Bank of San Francisco. 2017. \"Wage Rigidity.\" <http://www.\n frbsf.org/economic-research/indicators-data/nominal-wage-rigidity/>.\n\n"
@@ -4077,7 +4077,7 @@ LOG2E,"\nLOG2E\n Base 2 logarithm of Euler's number.\n\n Examples\n ---
4077
4077
LOG10E,"\nLOG10E\n Base 10 logarithm of Euler's number.\n\n Examples\n --------\n > LOG10E\n 0.4342944819032518\n\n See Also\n --------\n E, LOG2E\n"
4078
4078
logspace,"\nlogspace( a, b[, length] )\n Generates a logarithmically spaced numeric array between `10^a` and `10^b`.\n\n If a `length` is not provided, the default output array length is `10`.\n\n The output array includes the values `10^a` and `10^b`.\n\n Parameters\n ----------\n a: number\n Exponent of start value.\n\n b: number\n Exponent of end value.\n\n length: integer (optional)\n Length of output array. Default: `10`.\n\n Returns\n -------\n arr: Array\n Logarithmically spaced numeric array.\n\n Examples\n --------\n > var arr = logspace( 0, 2, 6 )\n [ 1, ~2.5, ~6.31, ~15.85, ~39.81, 100 ]\n\n See Also\n --------\n incrspace, linspace\n"
4079
4079
lowercase,"\nlowercase( str )\n Converts a string to lowercase.\n\n Parameters\n ----------\n str: string\n Input string.\n\n Returns\n -------\n out: string\n Lowercase string.\n\n Examples\n --------\n > var out = lowercase( 'bEEp' )\n 'beep'\n\n See Also\n --------\n uncapitalize, uppercase\n"
4080
-
lowercaseKeys,"\nlowercaseKeys( obj )\n Converts each object key to lowercase.\n\n The function only transforms own properties. Hence, the function does not\n transform inherited properties.\n\n The function shallow copies key values.\n\n Parameters\n ----------\n obj: Object\n Source object.\n\n Returns\n -------\n out: Object\n New object.\n\n Examples\n --------\n > var obj = { 'A': 1, 'B': 2 };\n > var out = lowercaseKeys( obj )\n { 'a': 1, 'b': 2 }\n\n See Also\n --------\n uncapitalizeKeys\n"
4080
+
lowercaseKeys,"\nlowercaseKeys( obj )\n Converts each object key to lowercase.\n\n The function only transforms own properties. Hence, the function does not\n transform inherited properties.\n\n The function shallow copies key values.\n\n Parameters\n ----------\n obj: Object\n Source object.\n\n Returns\n -------\n out: Object\n New object.\n\n Examples\n --------\n > var obj = { 'A': 1, 'B': 2 };\n > var out = lowercaseKeys( obj )\n { 'a': 1, 'b': 2 }\n\n See Also\n --------\n uncapitalizeKeys, uppercaseKeys\n"
4081
4081
lowess,"\nlowess( x, y[, options] )\n Locally-weighted polynomial regression via the LOWESS algorithm.\n\n Parameters\n ----------\n x: Array<number>\n x-axis values (abscissa values).\n\n y: Array<number>\n Corresponding y-axis values (ordinate values).\n\n options: Object (optional)\n Function options.\n\n options.f: number (optional)\n Positive number specifying the smoothing span, i.e., the proportion of\n points which influence smoothing at each value. Larger values\n correspond to more smoothing. Default: `2/3`.\n\n options.nsteps: number (optional)\n Number of iterations in the robust fit (fewer iterations translates to\n faster function execution). If set to zero, the nonrobust fit is\n returned. Default: `3`.\n\n options.delta: number (optional)\n Nonnegative number which may be used to reduce the number of\n computations. Default: 1/100th of the range of `x`.\n\n options.sorted: boolean (optional)\n Boolean indicating if the input array `x` is sorted. Default: `false`.\n\n Returns\n -------\n out: Object\n Object with ordered x-values and fitted values.\n\n Examples\n --------\n > var x = new Float64Array( 100 );\n > var y = new Float64Array( x.length );\n > for ( var i = 0; i < x.length; i++ ) {\n ... x[ i ] = i;\n ... y[ i ] = ( 0.5*i ) + ( 10.0*base.random.randn() );\n ... }\n > var out = lowess( x, y );\n > var yhat = out.y;\n\n > var h = Plot( [ x, x ], [ y, yhat ] );\n > h.lineStyle = [ 'none', '-' ];\n > h.symbols = [ 'closed-circle', 'none' ];\n\n > h.view( 'window' );\n\n"
4082
4082
lpad,"\nlpad( str, len[, pad] )\n Left pads a string such that the padded string has a length of at least\n `len`.\n\n An output string is not guaranteed to have a length of exactly `len`, but to\n have a length of at least `len`. To generate a padded string having a length\n equal to `len`, post-process a padded string by trimming off excess\n characters.\n\n Parameters\n ----------\n str: string\n Input string.\n\n len: integer\n Minimum string length.\n\n pad: string (optional)\n String used to pad. Default: ' '.\n\n Returns\n -------\n out: string\n Padded string.\n\n Examples\n --------\n > var out = lpad( 'a', 5 )\n ' a'\n > out = lpad( 'beep', 10, 'b' )\n 'bbbbbbbeep'\n > out = lpad( 'boop', 12, 'beep' )\n 'beepbeepboop'\n\n See Also\n --------\n pad, rpad\n"
4083
4083
ltrim,"\nltrim( str )\n Trims whitespace from the beginning of a string.\n\n \"Whitespace\" is defined as the following characters:\n\n - \f\n - \n\n - \r\n - \t\n - \v\n - \u0020\n - \u00a0\n - \u1680\n - \u2000-\u200a\n - \u2028\n - \u2029\n - \u202f\n - \u205f\n - \u3000\n - \ufeff\n\n Parameters\n ----------\n str: string\n Input string.\n\n Returns\n -------\n out: string\n Trimmed string.\n\n Examples\n --------\n > var out = ltrim( ' \r\n\t Beep \t\t\n ' )\n 'Beep \t\t\n '\n\n See Also\n --------\n trim, rtrim\n"
0 commit comments