Engee 文档

Array-Vector Add

根据指定的维度将向量的元素添加到数组的元素中。

类型: ArrayVectorAdd

图书馆中的路径:

/Signal Operations/Math Functions/Matrices and Linear Algebra/Matrix Operations/Array-Vector Add

资料描述

Array-Vector Add 添加输入向量的值 到的值 -维输入数组 定的维度中。

入口长度 它必须与指定维度的长度相同。 . 座 Array-Vector Add 添加每个元素 到相应的元素 .

考虑一个三维输入数组 大小 和输入向量 大小 到`1'。 如果*Add along dimension*参数设置为'2`,则块输出 :

哪里:

块输出 Array-Vector Add 具有与输入数组相同的大小。 . 此块支持有效和复杂的输入值。

港口

入口

A—输入数组传递:q[<br>]'vector|/`the matrix'

输入数组;向量或矩阵。

数据类型:'Float64'

*V*是输入向量通:q[<br>]'vector'|`the matrix'

的输入向量。

依赖关系

如果*Vector(V)source*参数设置为"输入端口",则使用。

数据类型:'Float64'

出口;出口

Port_1-输出数组传递:q[<br>]'vector|/`the matrix'

块输出;向量或矩阵。

数据类型:'Float64'

参数

沿维度添加-传递求和的维度:q[<br>]1(默认)|/'正数

设置输入数组_A_将与向量_v_的元素相加的维度。

数据类型:'Float64'

Vector(V)source-vector pass的来源:q[<br>]'Input port(default)|'Dialog parameter

置向量_V_的源。

  • '输入端口—-矢量取自输入端口。

  • 'Dialog parameter'-向量取自dialog parameter*Vector(V)*。

Vector(V)-vector
`[0.5 0.25](default)|/`vector'

置向量,V。

依赖关系

此参数仅在为*Vector(V)source*参数选择`Dialog parameter`值时使用。

数据类型:'Float64'