6.7.12 MapVectorValueOverwrite

6.7.12.1 Outline of the node

Overwrite a specified subvector of a Vector<ObjectRef> with a specified value where the Vector<ObjectRef> is an ObjectRef of a Map<int, ObjectRef> .

6.7.12.2 Necessary file

No files are required.

6.7.12.3 Usage

When to use

This node is used to overwrite a specified subvector of a Vector<ObjectRef> with a specified value where the Vector<ObjectRef> is an ObjectRef of a Map<int, ObjectRef> . The data type of the specified value will be converted to the suitable one depending on the ObjectRef of the Map$<$int , Vector<ObjectRef> $>$ given as the input.

6.7.12.4 Input-output and property of the node

Input

INPUT

: Map$<$int , Vector<ObjectRef> $>$ type; Map$<$int , Vector<int> $>$, Map$<$int , Vector<float> $>$, or Map$<$int , Vector<complex<float> > $>$.

Output

OUTPUT

: Map$<$int , Vector<ObjectRef> $>$ type; Map$<$int , Vector<int> $>$, Map$<$int , Vector<float> $>$, or Map$<$int , Vector<complex<float> > $>$.

Parameter

Table 6.97: Parameter list of MapVectorValueOverwrite 

Parameter name

Type

Default value

Unit

Description

OVERWRITTEN_MIN

int 

0

 

The element index of the Vector given as the input to specify the first element of the subvector on which overwrite.

OVERWRITTEN_MAX

int 

0

 

The element index of the Vector given as the input to specify the last element of the subvector on which overwrite.

OVERWRITE_VALUE_REAL

float 

0

 

The value with which overwrite a specified subvector. The data type will be converted to the suitable one depending on the ObjectRef of the Map$<$int , Vector<ObjectRef> $>$ given as the input.

OVERWRITE_VALUE_IMAG

float 

0

 

The value for the imaginary part with which overwrite a specified subvector when the ObjectRef of the Map$<$int , Vector<ObjectRef> $>$ given as the input is the complex type.

DEBUG

bool 

false

 

Enable or disable to output the overwriting status to standard output.

OVERWRITTEN_MIN

: int type. The element index of the Vector<ObjectRef> of the Map$<$int , Vector<ObjectRef> $>$ given as the input to specify the first element of the subvector on which overwrite. The default value is 0.

OVERWRITTEN_MAX

: int type. The element index of the Vector<ObjectRef> of the Map$<$int , Vector<ObjectRef> $>$ given as the input to specify the last element of the subvector on which overwrite. The default value is 0.

OVERWRITE_VALUE_REAL

: float type. The value with which overwrite a specified subvector. When the INPUT is Map$<$int , Vector<int> $>$, the type will be converted to the int type. When the INPUT is Map$<$int , Vector<complex<float> > $>$, the value will be for the real part. The default value is 0.

OVERWRITE_VALUE_IMAG

: float type. The value for the imaginary part with which overwrite a specified subvector when the ObjectRef of the Map$<$int , Vector<ObjectRef> $>$ given as the input is the complex type. The default value is 0.

DEBUG

: bool type. Setting the value to trueoutputs the overwrite status to the standard output. The default value is false.

6.7.12.5 Details of the node

$<$example$>$

INPUT: { 0, $<$ 1 2 3 4 $>$ }, { 1, $<$ 3 4 5 6 $>$ }, { 2, $<$ 5 6 7 8 $>$ }

↓OVERWRITTEN_MIN:1, OVERWRITTEN_MAX:2,
OVERWRITE_VALUE_REAL:9

OUTPUT: { 0, $<$ 1 9 9 4 $>$ }, { 1, $<$ 3 9 9 6 $>$ }, { 2, $<$ 5 9 9 8 $>$ }