Skip to main content
Namespace: Ans.DataProcessing.operators.math scale() scale(field: object, weights: object, boolean: object, algorithm: object, config: OperatorConfig) scale(config: OperatorConfig)

Class Information

Inputs

field

field or fields container with only one field is expected Type: LinkableInput

weights

Double/Field/Vector of doubles. When scoped on overall, same value(s) applied on all the data, when scoped elsewhere, corresponding values will be multiplied due to the scoping Type: LinkableInput

ponderation

Deprecated alias of: weights Type: LinkableInput

boolean

Default is false. If set to true, output of scale is made dimensionless Type: LinkableInput

algorithm

Algorithm selection: 0 (default) uses MKL for optimization, 1 uses standard loops Type: LinkableInput

Outputs

field

Field with scaled values (input_field * scale_factor) Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • field (object)
  • weights (object)
  • boolean (object)
  • algorithm (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config