Operator ARCSIN

Operator Library: Arithmetics

ARCSIN 算子用于计算输入的反正弦值。

反正弦的输入范围为 [-1,1]。 该算子将输入区间范围 [-1, 1] 映射到 其中 是输入端的 Bit Width。 可以看出,并未完全使用输入的值范围。 如果输入值超出了允许的值范围,算子会将其截断为 -1 或 1。 因此,反正弦的自变量 x 由以下公式决定:

该算子的输出范围为 [-π/2, π/2]。 算子在 VisualApplets 中的输出值范围映射为

其中

is the bit width at the output link. Thus the output value is

下图显示了常规反正弦函数的曲线图。

In the next figure, the VisualApplets operator implementation is shown. Note the input and output bit widths.

I/O Property

Property 值
Operator Type O
Input Link I,数据输入
Output Link O,数据输出

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width [8, 12] [8,32]
Arithmetic signed signed
Parallelism any as I
Kernel Columns 1 as I
Kernel Rows 1 as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format VAF_GRAY as I
Color Flavor FL_NONE as I
Max. Img Width any as I
Max. Img Height any as I

参数

无

使用示例

以下示例展示了 ARCSIN 算子的使用: