oph_extend

Description

Behaviour

It returns an array obtained by concatenating input array more times.

Parameters

  • input measure type : Ophidia typing. Supported types are: ‘oph_double’; ‘oph_float’; ‘oph_long’; ‘oph_int’; ‘oph_short’; ‘oph_byte’.
  • output measure type : Ophidia typing. Supported types are: ‘oph_double’; ‘oph_float’; ‘oph_long’; ‘oph_int’; ‘oph_short’; ‘oph_byte’.
  • measure : list of input measure.
  • number : number of replies.
  • mode : use ‘a’ to concatenate input cubes (default), use ‘i’ to interlace input cubes.

Return type

Binary-array.

Examples

Concatenate input array four times.

oph_extend('OPH_DOUBLE','OPH_DOUBLE',measure,4)

Operation type

simple

Arguments

Argument name Type Mandatory Values Default Min/Max-value Min/Max-times
input measure type “oph_type” “yes” “‘oph_double’|’oph_float’ |’oph_int’|’oph_long’|’op h_short’|’oph_byte’” “‘oph_double’”   “1” / “1”
output measure type “oph_type” “yes” “‘oph_double’|’oph_float’ |’oph_int’|’oph_long’|’op h_short’|’oph_byte’” “‘oph_double’”   “1” / “1”
measure “binary-array” “yes”       “1” / “1”
number “int” “no”   “1” “1” / “0” / “1”
mode “string” “no” “‘a’|’i’” “a”   “0” / “1”