algo — C++23 日本語リファレンス GitHub

group_inv

関数 · ポテンシャル付き素集合データ構造(可換・非可換どちらの群でも可)

// (1)
template <multiplicative_group T>
T group_inv(const T &a);

// (2)
template <additive_group T>
T group_inv(const T &a);

概要

(1) 群 T の逆元 $a^{-1}$

(2) 群 T の逆元 $a^{-1}$

関連項目