mpower
説明
例
ローラン多項式のべき乗
次の 2 つのローラン多項式を作成します。
a = laurentPolynomial(Coefficients=[1 -1],MaxOrder=1); b = laurentPolynomial(Coefficients=[-2 6 -6 2],MaxOrder=3);
を 3 乗します。結果が と等しくないことを確認します。
a3 = a^3; a3 ~= b
ans = logical
1
の 3 乗が と等しいことを確認します。
b2 = rescale(b,-1/2); a3 == b2
ans = logical
1
入力引数
P
— ローラン多項式
laurentPolynomial
オブジェクト
ローラン多項式。laurentPolynomial
オブジェクトとして指定します。
pow
— べき乗
整数
出力引数
Q
— ローラン多項式
laurentPolynomial
オブジェクト
ローラン多項式の非ゼロ乗。laurentPolynomial
オブジェクトとして返されます。
拡張機能
C/C++ コード生成
MATLAB® Coder™ を使用して C および C++ コードを生成します。
バージョン履歴
R2021b で導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)