Integer Math Node¶
The Integer Math node performs math operations.
输入¶
- 数值
Standard integer value input. Depending on the operation there will be more than one input.
属性¶
- 操作
数学运算符将两侧的输入值按运算符表示的含义进行数学运算:
- 功能
- 相加:
将运算符两侧的数值进行加法运算。
- 相减:
对两侧的输入值进行减法运算。
- 正片叠底(相乘):
将两个输入值进行相乘运算。
- 相除:
将第一个输入值作为被除数,第二个值作为除数进行相除数学运算。
- 乘后再加:
将两个乘积值再次进行相加运算。
- 绝对:
读取输入值而不考虑其符号。这会将负值转换为正值。
- Negate:
Changes the sign of the input value.
- 能量(乘方):
将 底数 进行 乘方 运算。
- 比较
- 最小值:
比较输入值,将其中最小值作为结果输出。
- 最大值:
将两个输入值比较,将最大的一个作为结果输出。
- 符号:
Extracts the sign of the input value. All positive numbers will output 1. All negative numbers will output -1. And 0 will output 0.
- 圆滑(取舍)
- Divide Round:
Divide the values and round the result toward zero.
- Divide Floor:
Divide the values and floor the result down to the nearest integer.
- Divide Ceiling:
Divide the values and ceil the result up to the nearest integer .
- 向下取模:
Returns the positive remainder of a division operation.
- 模数:
将第一个输入值被第二个输入值相除,输出所得结果的余数值(备注:取模运算( "Modulus Operation" )和取余运算( "Remainder Operation " )两个概念有重叠的部分但又不完全一致。主要的区别在于对负整数进行除法运算时操作不同。取模主要是用于计算机术语中。取余则更多是数学概念。参看百度百科 "取模运算" )。
- Greatest Common Divisor:
The largest positive integer that divides into each of the values.
- Least Common Multiple:
The smallest positive integer that is divisible by both values.
输出¶
- 数值
标准的整数型输出。