PINE LIBRARY
Mis à jour MahjongHighYaku

Combinatoric Full Matrix Suit & Structure Partitioning Module [Pine Script v6 Library]
EXECUTIVE SUMMARY
This specialized library handles heavy multi-set partition checks, isolating specific matrix dimensions to verify advanced structural alignments. By offloading resource-intensive loop matrices, it prevents AST node exhaustion in parent script containers.
EXPORTED FUNCTIONS & QUANTITATIVE LOGIC
- check_somete(int[] counts): Quantifies the exact concentration of elements across independent suit boundaries (Indices 0-8, 9-17, 18-26, and 27-33). It returns a tuple `[is_chinitsu, is_honitsu]` based on structural suit isolation mathematics, identifying full or partial flush configurations.
- is_toitoi(int[] counts): Evaluates the complete matrix row states to verify if the count of identical elements forming triplet formations equals exactly 4. It scans the integrated index space, filtering out any sequential data configurations.
概要
この特化型ライブラリは、高度な構造的整列を検証するために、特定の行列次元を分離して高負荷なマルチセット・パーティションチェックを処理します。リソースを大量に消費するループマトリックスをオフロードすることで、親スクリプトコンテナ内でのASTノードの枯渇を防止します。
エクスポート関数と定量的ロジック
- check_somete(int[] counts): 独立したスート境界(インデックス0-8、9-17、18-26、および27-33)にわたる要素の正確な集中度を定量化します。構造的な分離数学に基づいてタプル `[is_chinitsu, is_honitsu]` を返し、清一色または混一色の構成を識別します。
- is_toitoi(int[] counts): 行列全体の行状態を評価し、トリプレット構成(3枚組)を形成する同一要素の数が正確に4に等しいかどうかを検証します。統合されたインデックス空間を走査し、シーケンス(順子)データ構成を完全に排除します。
EXECUTIVE SUMMARY
This specialized library handles heavy multi-set partition checks, isolating specific matrix dimensions to verify advanced structural alignments. By offloading resource-intensive loop matrices, it prevents AST node exhaustion in parent script containers.
EXPORTED FUNCTIONS & QUANTITATIVE LOGIC
- check_somete(int[] counts): Quantifies the exact concentration of elements across independent suit boundaries (Indices 0-8, 9-17, 18-26, and 27-33). It returns a tuple `[is_chinitsu, is_honitsu]` based on structural suit isolation mathematics, identifying full or partial flush configurations.
- is_toitoi(int[] counts): Evaluates the complete matrix row states to verify if the count of identical elements forming triplet formations equals exactly 4. It scans the integrated index space, filtering out any sequential data configurations.
概要
この特化型ライブラリは、高度な構造的整列を検証するために、特定の行列次元を分離して高負荷なマルチセット・パーティションチェックを処理します。リソースを大量に消費するループマトリックスをオフロードすることで、親スクリプトコンテナ内でのASTノードの枯渇を防止します。
エクスポート関数と定量的ロジック
- check_somete(int[] counts): 独立したスート境界(インデックス0-8、9-17、18-26、および27-33)にわたる要素の正確な集中度を定量化します。構造的な分離数学に基づいてタプル `[is_chinitsu, is_honitsu]` を返し、清一色または混一色の構成を識別します。
- is_toitoi(int[] counts): 行列全体の行状態を評価し、トリプレット構成(3枚組)を形成する同一要素の数が正確に4に等しいかどうかを検証します。統合されたインデックス空間を走査し、シーケンス(順子)データ構成を完全に排除します。
Notes de version
v2追加:
check_sangen(counts)
Parameters:
counts (array<int>)
check_routou_tsuuiisou(counts)
Parameters:
counts (array<int>)
check_suushii(counts)
Parameters:
counts (array<int>)
is_ryuuiisou(counts)
Parameters:
counts (array<int>)
is_kyuuren(counts)
Parameters:
counts (array<int>)
Bibliothèque Pine
Dans l'esprit TradingView, l'auteur a publié ce code Pine sous forme de bibliothèque open source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur! Vous pouvez utiliser cette bibliothèque à titre privé ou dans d'autres publications open source, mais la réutilisation de ce code dans des publications est régie par nos Règles.
Script Developer.
I specialize in pushing basic, fundamental concepts to their absolute limits. Dedicated to engineering noise-free indicators that reveal true market mechanics and logical edges. Clarity over https://clutter.https://www.youtube.com/@alt.analyst
I specialize in pushing basic, fundamental concepts to their absolute limits. Dedicated to engineering noise-free indicators that reveal true market mechanics and logical edges. Clarity over https://clutter.https://www.youtube.com/@alt.analyst
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Bibliothèque Pine
Dans l'esprit TradingView, l'auteur a publié ce code Pine sous forme de bibliothèque open source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur! Vous pouvez utiliser cette bibliothèque à titre privé ou dans d'autres publications open source, mais la réutilisation de ce code dans des publications est régie par nos Règles.
Script Developer.
I specialize in pushing basic, fundamental concepts to their absolute limits. Dedicated to engineering noise-free indicators that reveal true market mechanics and logical edges. Clarity over https://clutter.https://www.youtube.com/@alt.analyst
I specialize in pushing basic, fundamental concepts to their absolute limits. Dedicated to engineering noise-free indicators that reveal true market mechanics and logical edges. Clarity over https://clutter.https://www.youtube.com/@alt.analyst
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.