The namespace for all UF/Statistics utility functions, typically for static methods.
- Source:
Methods
(static) _computeXT_X(arg0_X) → {Array.<Array.<number>>}
Computes the X^T * X matrix manually to save memory.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_X |
Array.<Array.<number>>
|
(static) argmaxMultinomialClass(arg0_probabilities, arg1_classes) → {any}
Returns the class label with the highest probability.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_probabilities |
Object
|
Map of class labels to probabilities. |
arg1_classes |
Array
|
Returns:
- Type:
-
any
(static) computeMultinomialLogits(arg0_row_X, arg1_beta) → {Array.<number>}
Computes logits for a single sample against a CxK coefficient matrix. Row 0 of beta is assumed to be the zeroed reference class.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_row_X |
Array.<number>
|
|
arg1_beta |
Array.<Array.<number>>
|
Returns:
- Type:
-
Array.<number>
(static) computeMultinomialStandardErrors(arg0_X, arg1_Y, arg2_result, arg3_lambdaopt) → {Object}
Computes approximate per-class standard errors from the Hessian at convergence. Uses the standard class-vs-rest approximation H_c = Σ p_ic(1-p_ic) x_i x_i^T + λI.
- Source:
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
arg0_X |
Array.<Array.<number>>
|
|||
arg1_Y |
Array.<Array.<number>>
|
|||
arg2_result |
Object
|
Result object from Statistics.multinomialLogitRegression. |
||
arg3_lambda |
number
|
<optional> |
1e-3 |
(static) computeVIF(arg0_X) → {Array.<number>}
Computes the VIF of a given matrix.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_X |
Matrix
|
Array
|
Returns:
- Type:
-
Array.<number>
(static) conditionNumber(arg0_X, arg1_epsilonopt) → {number}
Returns the condition number of a given matrix.
- Source:
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
arg0_X |
Matrix
|
Array
|
|||
arg1_epsilon |
number
|
<optional> |
1e-12 |
Returns:
- Type:
-
number
(static) coupleAgeSexCohorts(arg0_male_rates, arg1_female_rates, arg2_band_widths, arg3_start_indexopt, arg4_optionsopt) → {Object}
Smooths age cohorts and couples sex ratios simultaneously. Enforces non-increasing monotonicity along the age dimension using weighted PAVA on total cohort population density, then allocates totals between male and female using the model's empirical sex ratio bounded within a biological plausibility envelope (Option 1).
- Source:
Parameters:
| Name | Type | Attributes | Default | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_male_rates |
Float32Array
|
Array.<number>
|
Raw male cohort values. |
||||||||||||||||||||||||||||||||||||||||||
arg1_female_rates |
Float32Array
|
Array.<number>
|
Raw female cohort values. |
||||||||||||||||||||||||||||||||||||||||||
arg2_band_widths |
Float32Array
|
Array.<number>
|
Cohort duration in years (e.g. 1 for 00, 4 for 01, 5 for others). |
||||||||||||||||||||||||||||||||||||||||||
arg3_start_index |
number
|
<optional> |
0 |
Index from which to enforce age monotonicity (defaults to 0 on annualised density). |
||||||||||||||||||||||||||||||||||||||||
arg4_options |
Object
|
<optional> |
|
(static) coupleAgeSexCohortsWhittaker(arg0_male_rates, arg1_female_rates, arg2_band_widthsopt, arg3_start_indexopt, arg4_optionsopt) → {Object}
Graduates total age-cohort density and reallocates it between sexes.
Defaults are appropriate for stochastic model-generated compositions: raw sex ratios are preserved, monotonicity is disabled, and the total population of the graduated suffix is preserved by final rescaling.
Density is normalised by the mean density of the graduated suffix. huber_delta is therefore expressed relative to that mean.
Fidelity weights default to band widths. These are integration weights, not estimated inverse-variance weights for a multinomial model.
Sex-ratio allocation applies to every cohort, including the prefix. Density graduation and total rescaling apply only from start_index.
Legacy options.buffers is not used; working calculations use Float64Array.
Parameters:
| Name | Type | Attributes | Default | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_male_rates |
Float32Array
|
Float64Array
|
Array.<number>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
arg1_female_rates |
Float32Array
|
Float64Array
|
Array.<number>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
arg2_band_widths |
Float32Array
|
Float64Array
|
Array.<number>
|
<optional> |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
arg3_start_index |
number
|
null
|
<optional> |
2 |
Negative or null disables graduation. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
arg4_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Object
(static) evaluateMultinomialModel(arg0_model, arg1_covariates_obj) → {Object}
Evaluates a trained multinomial logit model against a covariates object, returning overall accuracy and a confusion matrix.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_model |
string
|
Object
|
JSON model object or file path to JSON model. |
arg1_covariates_obj |
Object
|
{ keys, X, Y } |
(static) generateALRRaster(arg0_output_file_path, arg1_optionsopt) → {Promise.<void>}
Generates multi-class probability rasters from a trained ALR compositional model.
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_output_file_path |
string
|
Output file path prefix or base name. |
||||||||||||||||||||||||||
arg1_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Promise.<void>
(static) generateMultinomialRaster(arg0_output_file_path, arg1_optionsopt) → {Promise.<void>}
Generates raster predictions from a trained multinomial logit model. Supports argmax class maps, single-class probability surfaces, or one probability raster per class.
- Source:
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_output_file_path |
string
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
arg1_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Promise.<void>
(static) generateMultinomialRastersParallel(arg0_items, arg1_task_generator, arg2_optionsopt) → {Promise.<Array.<Object>>}
Concurrently generates a series of Multinomial Logit predicted rasters across background worker processes.
- Source:
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_items |
Array.<any>
|
Array of years, models, or tasks to generate. |
||||||||||||||||
arg1_task_generator |
function
|
(local_item: any, local_index: number) => { output_file_path, model_obj, covariates_map, options } |
||||||||||||||||
arg2_options |
Object
|
<optional> |
|
(static) generateOLSRaster(arg0_output_file_path, arg1_optionsopt) → {Promise.<void>}
Generates an OLS raster from a stack of coefficients.
- Source:
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_output_file_path |
string
|
|||||||||||||||||||||||||||||||||||||||||||||||
arg1_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Promise.<void>
(static) generateOLSRastersParallel(arg0_items, arg1_task_generator, arg2_optionsopt) → {Promise.<Array.<Object>>}
Concurrently generates a series of OLS predicted rasters across background worker processes.
- Source:
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_items |
Array.<any>
|
Array of years, models, or tasks to generate. |
||||||||||||||||
arg1_task_generator |
function
|
(local_item: any, local_index: number) => { output_file_path, model_obj, covariates_map, options } |
||||||||||||||||
arg2_options |
Object
|
<optional> |
|
(static) geomeanOLSModels(arg0_input_folder_path, arg1_ols_prefix, arg2_optionsopt) → {Promise.<{coefficients: {}, raw_coefficients: {}}>}
Geometrically average OLS models across a folder path, with base OLS prefixes.
- Source:
Parameters:
| Name | Type | Attributes | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_input_folder_path |
string
|
||||||||||
arg1_ols_prefix |
string
|
||||||||||
arg2_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Promise.<{coefficients: {}, raw_coefficients: {}}>
(static) getClassLabel(arg0_Y, arg1_index) → {any}
Returns the class label at a given index of Y, unwrapping single-element arrays.
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_Y |
Array
|
|
arg1_index |
number
|
Returns:
- Type:
-
any
(static) getLogisticKernelWeight(arg0_value, arg1_start_valopt, arg2_end_valopt, arg3_optionsopt) → {number}
Computes a normalised logistic transition kernel weight w in [0, 1] over a domain [start_val, end_val]. Returns 0 for values <= start_val, 1 for values >= end_val, and an S-curve blend for intermediate values.
Parameters:
| Name | Type | Attributes | Default | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_value |
number
|
|||||||||||||
arg1_start_val |
number
|
<optional> |
1750 | |||||||||||
arg2_end_val |
number
|
<optional> |
1850 | |||||||||||
arg3_options |
Object
|
<optional> |
|
Returns:
- Type:
-
number
(static) loadCovariateRasters(arg0_covariates_obj, arg1_optionsopt) → {Object}
Loads a set of covariate rasters, resolving function- or string-valued paths and dropping rasters that fail to load. Shared by all covariate-stacking routines.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_covariates_obj |
Object
|
||||||||||||||||||||||
arg1_options |
Object
|
<optional> |
|
(static) loadMultinomialCovariates(arg0_class_file_path, arg1_optionsopt) → {Promise.<Object>}
Loads a stack of covariates for a categorical class raster for multinomial logit training. Unlike loadOLSCovariates, zero-valued class labels are meaningful and retained.
- Source:
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_class_file_path |
string
|
Raster whose pixel values are integer class labels. |
||||||||||||||||||||||||||
arg1_options |
Object
|
<optional> |
|
(static) loadOLSCovariates(arg0_utility_file_path, arg1_optionsopt) → {Promise.<Object>}
Loads a stack of covariates for a specific utility file path for OLS training.
- Source:
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_utility_file_path |
string
|
||||||||||||||||||||||
arg1_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Promise.<Object>
(static) loadPointMultinomialCovariates(arg0_points, arg1_year, arg2_optionsopt) → {Promise.<Object>}
Loads a stack of covariates for point-based categorical data (e.g. household survey age/sex buckets) for multinomial logit training for a specific year.
- Source:
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_points |
Array.<Object>
|
Array of objects with { coords: [lng, lat], target: number, year: number } |
|||||||||||||||||
arg1_year |
number
|
The target year to load covariates and sample points for. |
|||||||||||||||||
arg2_options |
Object
|
<optional> |
|
(static) loadPointOLSCovariates(arg0_points, arg1_year, arg2_optionsopt) → {Promise.<Object>}
Loads a stack of covariates for point-based data for OLS training for a specific year.
- Source:
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_points |
Array.<Object>
|
Array of objects with { coords: [lng, lat], target: number, year: number } |
|||||||||||||||||
arg1_year |
number
|
The target year to load covariates and sample points for. |
|||||||||||||||||
arg2_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Promise.<Object>
(static) multinomialLogitRegression(arg0_X, arg1_Y, arg2_optionsopt) → {Object|null}
Performs L2-regularised Multinomial Logistic Regression (softmax regression) via batch gradient descent with momentum. The first observed class is the reference class with coefficients fixed at zero for identifiability.
- Source:
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_X |
Matrix
|
Array
|
||||||||||||||||||||||||||||||||||||||||||
arg1_Y |
Matrix
|
Array
|
Nx1 matrix of integer class labels. |
|||||||||||||||||||||||||||||||||||||||||
arg2_options |
Object
|
<optional> |
|
(static) pavaDecreasing(arg0_values, arg1_weightsopt, arg2_start_indexopt, arg3_optionsopt) → {Float32Array|Array.<number>}
Enforces non-increasing monotonicity on a sequence using the weighted Pool Adjacent Violators Algorithm (PAVA). Values before arg2_start_index are preserved unconstrained.
Parameters:
| Name | Type | Attributes | Default | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_values |
Float32Array
|
Array.<number>
|
Array of values to smooth. |
||||||||||||||||||||||||||||||
arg1_weights |
Float32Array
|
Array.<number>
|
<optional> |
Optional weights (e.g. cohort band widths). |
|||||||||||||||||||||||||||||
arg2_start_index |
number
|
<optional> |
0 |
Index from which to enforce non-increasing monotonicity. |
||||||||||||||||||||||||||||
arg3_options |
Object
|
<optional> |
|
(static) predictALRProbabilities(arg0_features_obj, arg1_model_obj) → {Object}
Computes predicted compositional class probabilities for a single feature object using a trained ALR model.
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_features_obj |
Object
|
Feature mapping. |
arg1_model_obj |
Object
|
Trained ALR model object with .categories, .reference_category, and .coefficients. |
(static) predictMultinomialEnsemble(arg0_features_obj, arg1_models, arg2_weightsopt) → {Object}
Predicts class probabilities from an ensemble of models using a convex combination in probability space.
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
arg0_features_obj |
Object
|
Map of covariate keys to feature values. |
|
arg1_models |
Array.<(Object|string)>
|
Array of model objects or file paths. |
|
arg2_weights |
Array.<number>
|
<optional> |
Optional array of model weights. |
(static) predictMultinomialProbabilities(arg0_features_obj, arg1_model_obj) → {Object}
Predicts class probabilities for a single feature object against a trained multinomial logit model. Supports both discrete multinomial_logit models and probability-space multinomial_ensemble mixtures.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_features_obj |
Object
|
Map of covariate keys to feature values. |
arg1_model_obj |
Object
|
Trained model object with .classes and .coefficients. |
(static) processOLSModel(arg0_model, arg1_optionsopt) → {Promise.<Object>}
Processes and adjusts OLS model coefficients against target and covariate rasters using Multiplicative Update Rules (NMF).
- Source:
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_model |
string
|
Object
|
JSON model object or file path to JSON model. |
||||||||||||||||||||||||||||||||||||
arg1_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Promise.<Object>
(static) removeHighVIFFeatures(arg0_X, arg1_thresholdopt) → {Array.<Array.<number>>}
Removes high VIF features for a given matrix.
- Source:
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
arg0_X |
Matrix
|
Array
|
|||
arg1_threshold |
number
|
<optional> |
10 |
(static) ridgeRegression(arg0_X, arg1_Y, arg2_lambdaopt) → {Matrix|Array}
Performs Ridge Regression on two matrices with RMS scale stabilization and pseudo-inverse fallbacks.
- Source:
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
arg0_X |
Matrix
|
Array
|
|||
arg1_Y |
Matrix
|
Array
|
|||
arg2_lambda |
number
|
<optional> |
1e-3 |
Returns:
- Type:
-
Matrix|Array
(static) softmax(arg0_logits) → {Array.<number>}
Computes a numerically-stable softmax over an array of logits.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
arg0_logits |
Array.<number>
|
Returns:
- Type:
-
Array.<number>
(static) trainALRModel(arg0_output_file_path, arg1_covariates_obj, arg2_optionsopt) → {Promise.<(Object|null)>}
Trains an Additive Log-Ratio (ALR) regularised ridge regression model for continuous compositional targets. Bypasses gradient descent under-convergence by solving normal equations analytically.
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_output_file_path |
string
|
File path to save the trained model. |
|||||||||||||||||||||
arg1_covariates_obj |
Object
|
{ keys, X, Y, categories, [reference_category] } |
|||||||||||||||||||||
arg2_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Promise.<(Object|null)>
(static) trainMultinomialLogitModel(arg0_output_file_path, arg1_covariates_obj, arg2_optionsopt) → {Promise.<(Object|null)>}
Trains a multinomial logit model given a fitted covariates object { X, Y, keys } and saves it to JSON. Coefficients are stored per non-reference class.
- Source:
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_output_file_path |
string
|
|||||||||||||||||||||||||||||||||||||||||||||||
arg1_covariates_obj |
Object
|
{ keys, X, Y } |
||||||||||||||||||||||||||||||||||||||||||||||
arg2_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Promise.<(Object|null)>
(static) trainMultinomialLogitModelsParallel(arg0_items, arg1_task_generator, arg2_optionsopt) → {Promise.<Array.<Object>>}
Concurrently trains a series of multinomial logit models across background worker processes.
- Source:
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_items |
Array.<any>
|
Array of tasks, years, or cohort descriptors. |
||||||||||||||||
arg1_task_generator |
function
|
(local_item: any, local_index: number) => { categories, covariates_map, filter_format, filter_raster_path, model_path, options, target_paths } |
||||||||||||||||
arg2_options |
Object
|
<optional> |
|
(static) trainOLSModel(arg0_output_file_path, arg1_covariates_obj, arg2_optionsopt) → {Promise.<Object>}
Trains a raster-based OLS model given a fitted covariates object { X, Y, keys }.
- Source:
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_output_file_path |
string
|
||||||||||||||||||||||||||||||||
arg1_covariates_obj |
Object
|
||||||||||||||||||||||||||||||||
arg2_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Promise.<Object>
(static) trainOLSModelsParallel(arg0_items, arg1_task_generator, arg2_optionsopt) → {Promise.<Array.<Object>>}
Concurrently trains a series of OLS models across background worker processes.
- Source:
Parameters:
| Name | Type | Attributes | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_items |
Array.<any>
|
Array of years, models, or tasks to train. |
||||||||||||||||
arg1_task_generator |
function
|
(local_item: any, local_index: number) => { output_file_path, target_file_path, target_format, covariates_map, options, points, target_year } |
||||||||||||||||
arg2_options |
Object
|
<optional> |
|
(static) whittakerHendersonRobust(arg0_values, arg1_weightsopt, arg2_start_indexopt, arg3_optionsopt) → {Float32Array|Float64Array}
Performs Whittaker-Henderson graduation with weighted Huber fidelity, second-difference roughness, and optional soft non-increasing monotonicity.
Penalties apply only within [start_index, values.length). Values before start_index are copied without modification.
Parameters:
| Name | Type | Attributes | Default | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg0_values |
Float32Array
|
Float64Array
|
Array.<number>
|
|||||||||||||||||||||||||||||||||||||||||||
arg1_weights |
Float32Array
|
Float64Array
|
Array.<number>
|
<optional> |
||||||||||||||||||||||||||||||||||||||||||
arg2_start_index |
number
|
<optional> |
0 | |||||||||||||||||||||||||||||||||||||||||
arg3_options |
Object
|
<optional> |
|
Returns:
- Type:
-
Float32Array|Float64Array