元編程參考文件

Weed 資料樹數學

24 個節點

本頁內容 24

絕對值

函數

Computes absolute values, preserving paths.

簽名
絕對值(值: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> Absolute(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

加法

函數

Adds matched items.

簽名
加法 -> 數字的 Cad Tree
    左側: 數字的 Cad Tree
    右側: 數字的 Cad Tree
CadTree<double> Add(CadTree<double> left, CadTree<double> right)

參數

名稱型別預設值說明
左側數字的 Cad Tree—
右側數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

分支數

函數

Returns the number of branches as a scalar tree.

簽名
分支數(值: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> BranchCount(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

餘弦

函數

Computes cosine in radians, preserving paths.

簽名
餘弦(值: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> Cosine(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

除法

函數

Divides matched items, rejecting zero denominators.

簽名
除法 -> 數字的 Cad Tree
    左側: 數字的 Cad Tree
    右側: 數字的 Cad Tree
CadTree<double> Divide(
    CadTree<double> left,
    CadTree<double> right)

參數

名稱型別預設值說明
左側數字的 Cad Tree—
右側數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

區間

函數

Constructs directed intervals from matched endpoints.

簽名
區間 -> Interval 的 Cad Tree
    起點: 數字的 Cad Tree
    終點: 數字的 Cad Tree
CadTree<Interval> Domains(
    CadTree<double> start,
    CadTree<double> end)

參數

名稱型別預設值說明
起點數字的 Cad Tree—
終點數字的 Cad Tree—

返回

結果Interval 的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

展平

函數

Returns all values in branch order for inspection or scalar-list APIs.

簽名
展平(值: 數字的 Cad Tree) -> 數字陣列
double[] Flatten(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

長度

函數

Returns each branch's item count without changing its path.

簽名
長度(值: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> Lengths(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

小於

函數

Returns numeric 1 for values below threshold and 0 otherwise, preserving branches.

簽名
小於(值: 數字的 Cad Tree, 閾值: 數字) -> 數字的 Cad Tree
CadTree<double> LessThan(
    CadTree<double> values,
    double threshold = 0)

參數

名稱型別預設值說明
值數字的 Cad Tree—
閾值數字0

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

最大值

函數

Applies a lower bound independently to each value.

簽名
最大值(值: 數字的 Cad Tree, 最小值: 數字) -> 數字的 Cad Tree
CadTree<double> Maximum(
    CadTree<double> values,
    double minimum = 0)

參數

名稱型別預設值說明
值數字的 Cad Tree—
最小值數字0

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

乘法

函數

Multiplies matched items.

簽名
乘法 -> 數字的 Cad Tree
    左側: 數字的 Cad Tree
    右側: 數字的 Cad Tree
CadTree<double> Multiply(
    CadTree<double> left,
    CadTree<double> right)

參數

名稱型別預設值說明
左側數字的 Cad Tree—
右側數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

取負

函數

Negates values, preserving paths.

簽名
取負(值: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> Negative(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

非

函數

Interprets zero as false and nonzero as true, returning the negated gate as numeric 0 or 1.

簽名
非(值: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> Not(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

圓周率

函數

Multiplies each value by pi.

簽名
圓周率(值: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> Pi(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

冪運算

函數

Raises matched bases to exponents, rejecting non-finite results.

簽名
冪運算 -> 數字的 Cad Tree
    左側: 數字的 Cad Tree
    右側: 數字的 Cad Tree
CadTree<double> Power(
    CadTree<double> left,
    CadTree<double> right)

參數

名稱型別預設值說明
左側數字的 Cad Tree—
右側數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

新增字首

函數

Prepends a common ancestor index to every branch path without changing item order.

簽名
新增字首(值: 數字的 Cad Tree, 索引: 整數) -> 數字的 Cad Tree
CadTree<double> Prefix(CadTree<double> values, int index = 0)

參數

名稱型別預設值說明
值數字的 Cad Tree—
索引整數0

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

弧度

函數

Converts degrees to radians.

簽名
弧度(值: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> Radians(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

等分範圍

函數

Produces steps+1 values in each directed domain, with one child branch per matched request.

簽名
等分範圍 -> 數字的 Cad Tree
    區間: Interval 的 Cad Tree
    臺階數: 數字的 Cad Tree
CadTree<double> Range(
    CadTree<Interval> domains,
    CadTree<double> steps)

參數

名稱型別預設值說明
區間Interval 的 Cad Tree—
臺階數數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

數列

函數

Appends an item index for each generated list, as an item-access component with list output does.

簽名
數列 -> 數字的 Cad Tree
    起點: 數字的 Cad Tree
    步長: 數字的 Cad Tree
    數量: 數字的 Cad Tree
CadTree<double> Series(
    CadTree<double> start,
    CadTree<double> step,
    CadTree<double> count)

參數

名稱型別預設值說明
起點數字的 Cad Tree—
步長數字的 Cad Tree—
數量數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

正弦

函數

Computes sine in radians, preserving paths.

簽名
正弦(值: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> Sine(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

平方根

函數

Computes real square roots, rejecting negative inputs.

簽名
平方根(值: 數字的 Cad Tree) -> 數字的 Cad Tree
CadTree<double> SquareRoot(CadTree<double> values)

參數

名稱型別預設值說明
值數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

減法

函數

Subtracts matched items.

簽名
減法 -> 數字的 Cad Tree
    左側: 數字的 Cad Tree
    右側: 數字的 Cad Tree
CadTree<double> Subtract(
    CadTree<double> left,
    CadTree<double> right)

參數

名稱型別預設值說明
左側數字的 Cad Tree—
右側數字的 Cad Tree—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

值

函數

Creates one numeric value at path {0}.

簽名
值(值: 數字) -> 數字的 Cad Tree
CadTree<double> Value(double value)

參數

名稱型別預設值說明
值數字—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計

多個值

函數

Creates a numeric list at path {0}.

簽名
多個值(值: 數字陣列) -> 數字的 Cad Tree
CadTree<double> Values(double[] values)

參數

名稱型別預設值說明
值數字陣列—

返回

結果數字的 Cad Tree
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
Weed 資料樹數學
所屬包
電腦輔助設計