tfhe_libex
|
条件演算子(multiplexer)の関数. [詳解]
#include "../../../type/core/bool_core.hpp"
関数 | |
template<typename Type > | |
Type | mux (TFHEBoolCore condition, Type true_value, Type false_value) |
条件式conditionに応じて、真式true_valueか偽式false_valueを返す関数. [詳解] | |
条件演算子(multiplexer)の関数.
Type mux | ( | TFHEBoolCore | condition, |
Type | true_value, | ||
Type | false_value | ||
) |
条件式conditionに応じて、真式true_valueか偽式false_valueを返す関数.
[in] | TFHEBoolCore | condition(条件式)[TFHEBoolでも可] |
[in] | 任意の型Type | true_value(真式) |
[in] | 任意の型Type | false_value(偽式) |