Weed 列表
21 个节点
本页内容 21
加法
函数Graph-friendly numeric longest-list addition.
加法(左侧: 数字数组, 右侧: 数字数组) -> 数字数组
double[] Add(double[] left, double[] right)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 左侧 | 数字数组 | — | |
| 右侧 | 数字数组 | — |
返回
| 结果 | 数字数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
交叉引用
函数Combines every left item with every right item, with right varying fastest.
交叉引用 -> TResult 数组
左侧: TLeft 数组
右侧: TRight 数组
组合方式: Func<TLeft, TRight, TResult>TResult[] CrossReference(
TLeft[] left,
TRight[] right,
Func<TLeft, TRight, TResult> combine)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 左侧 | TLeft 数组 | — | |
| 右侧 | TRight 数组 | — | |
| 组合方式 | Func<TLeft, TRight, TResult> | — |
返回
| 结果 | TResult 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
剔除索引
函数Removes indexed items; indices optionally wrap, and duplicates remove an item only once.
剔除索引(值: T 数组, 索引: 整数数组, 环绕: 真否) -> T 数组
T[] CullIndex(T[] values, int[] indices, bool wrap = true)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | T 数组 | — | |
| 索引 | 整数数组 | — | |
| 环绕 | 真否 | True |
返回
| 结果 | T 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
剔除数字
函数Graph-friendly numeric culling by a repeating mask.
剔除数字(值: 数字数组, 模式: 真否数组) -> 数字数组
double[] CullNumbers(double[] values, bool[] pattern)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | 数字数组 | — | |
| 模式 | 真否数组 | — |
返回
| 结果 | 数字数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
按模式剔除
函数Retains items where the repeating mask is true. An empty mask is rejected.
按模式剔除(值: T 数组, 模式: 真否数组) -> T 数组
T[] CullPattern(T[] values, bool[] pattern)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | T 数组 | — | |
| 模式 | 真否数组 | — |
返回
| 结果 | T 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
分配
函数Dispatches a list into the true and false sides of a repeating mask.
分配(值: T 数组, 模式: 真否数组) -> (T 数组, T 数组)
(T[], T[]) Dispatch(T[] values, bool[] pattern)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | T 数组 | — | |
| 模式 | 真否数组 | — |
返回
| 结果 | (T 数组, T 数组) |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
项
函数Retrieves an item with optional cyclic indexing; negative indices wrap only when wrap is enabled.
项(值: T 数组, 索引: 整数, 环绕: 真否) -> T
T Item(T[] values, int index, bool wrap = true)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | T 数组 | — | |
| 索引 | 整数 | — | |
| 环绕 | 真否 | True |
返回
| Result | T |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
长度
函数Counts all items in a numeric list.
长度(值: 数字数组) -> 整数
int Length(double[] values)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | 数字数组 | — |
返回
| 结果 | 整数 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
最长列表
函数Combines until the longer list ends, repeating the last element of the shorter list; either empty input gives an empty result.
最长列表 -> TResult 数组
左侧: TLeft 数组
右侧: TRight 数组
组合方式: Func<TLeft, TRight, TResult>TResult[] Longest(
TLeft[] left,
TRight[] right,
Func<TLeft, TRight, TResult> combine)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 左侧 | TLeft 数组 | — | |
| 右侧 | TRight 数组 | — | |
| 组合方式 | Func<TLeft, TRight, TResult> | — |
返回
| 结果 | TResult 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
合并
函数Concatenates lists in supplied order; branch merging is handled separately by WeedTrees.Create.
合并(列表: T 数组数组) -> T 数组
T[] Merge(T[][] lists)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 列表 | T 数组数组 | — |
返回
| 结果 | T 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
乘法
函数Graph-friendly numeric longest-list multiplication.
乘法(左侧: 数字数组, 右侧: 数字数组) -> 数字数组
double[] Multiply(double[] left, double[] right)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 左侧 | 数字数组 | — | |
| 右侧 | 数字数组 | — |
返回
| 结果 | 数字数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
数字项
函数Graph-friendly list item lookup.
数字项(值: 数字数组, 索引: 整数, 环绕: 真否) -> 数字
double NumberItem(double[] values, int index, bool wrap = true)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | 数字数组 | — | |
| 索引 | 整数 | — | |
| 环绕 | 真否 | True |
返回
| 结果 | 数字 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
分区
函数Partitions a list into consecutive blocks; the final block may be shorter.
分区(值: T 数组, 大小: 整数) -> T 数组数组
T[][] Partition(T[] values, int size)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | T 数组 | — | |
| 大小 | 整数 | — |
返回
| 结果 | T 数组数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
反转数字
函数Reverses the item order.
反转数字(值: 数字数组) -> 数字数组
double[] ReverseNumbers(double[] values)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | 数字数组 | — |
返回
| 结果 | 数字数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
平移
函数Positive shifts move items toward the beginning; without wrapping, shifted-off items are discarded.
平移(值: T 数组, 平移量: 整数, 环绕: 真否) -> T 数组
T[] Shift(T[] values, int shift, bool wrap = true)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | T 数组 | — | |
| 平移量 | 整数 | — | |
| 环绕 | 真否 | True |
返回
| 结果 | T 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
平移数字
函数Graph-friendly cyclic numeric shift.
平移数字(值: 数字数组, 平移量: 整数, 环绕: 真否) -> 数字数组
double[] ShiftNumbers(
double[] values,
int shift,
bool wrap = true)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | 数字数组 | — | |
| 平移量 | 整数 | — | |
| 环绕 | 真否 | True |
返回
| 结果 | 数字数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
最短列表
函数Combines corresponding elements until the shorter input ends.
最短列表 -> TResult 数组
左侧: TLeft 数组
右侧: TRight 数组
组合方式: Func<TLeft, TRight, TResult>TResult[] Shortest(
TLeft[] left,
TRight[] right,
Func<TLeft, TRight, TResult> combine)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 左侧 | TLeft 数组 | — | |
| 右侧 | TRight 数组 | — | |
| 组合方式 | Func<TLeft, TRight, TResult> | — |
返回
| 结果 | TResult 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
排序
函数Stable ascending sort of values by equally sized numeric keys.
排序(键: 数字数组, 值: T 数组) -> T 数组
T[] Sort(double[] keys, T[] values)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 键 | 数字数组 | — | |
| 值 | T 数组 | — |
返回
| 结果 | T 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
数字排序
函数Graph-friendly ascending numeric sort.
数字排序(值: 数字数组) -> 数字数组
double[] SortNumbers(double[] values)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | 数字数组 | — |
返回
| 结果 | 数字数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
拆分
函数Splits at a zero-based boundary; the boundary item belongs to the second list.
拆分(值: T 数组, 索引: 整数) -> (T 数组, T 数组)
(T[], T[]) Split(T[] values, int index)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 值 | T 数组 | — | |
| 索引 | 整数 | — |
返回
| 结果 | (T 数组, T 数组) |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计
编织
函数Weaves lists by a repeating list-index pattern, skipping exhausted inputs. Every nonempty input must be represented.
编织(列表: T 数组数组, 模式: 整数数组) -> T 数组
T[] Weave(T[][] lists, int[] pattern)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 列表 | T 数组数组 | — | |
| 模式 | 整数数组 | — |
返回
| 结果 | T 数组 |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- Weed 列表
- 所属包
- 计算机辅助设计