Class mpoly (multivariate polynomial)

Multivariate polynomial class with automatic differentiation functionality
ダウンロード: 6
更新 2026/2/8

ライセンスの表示

Class mpoly represents a numeric array (of any nonempty size, any number of dimensions) as a polynomial function (any degree) of a set of independent parameters (any number of parameters), or as a truncated polynomial approximation (Taylor series). The class encapsulates the function value and its series coefficients.
Most standard array operations (+, -, *, /, cat, transpose, etc.) are implemented in mpoly to automatically calculate series coefficients for the result, effectively implementing automatic differentiation. Multivariate operations can be applied to mixed mpoly and numeric arguments, with numeric values being interpreted as constants.
mpoly is adapted to work with single- or double-precision data, and with GPU arrays.

引用

Kenneth Johnson (2026). Class mpoly (multivariate polynomial) (https://jp.mathworks.com/matlabcentral/fileexchange/182185-class-mpoly-multivariate-polynomial), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2025b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加
謝辞

ヒントを得たファイル: Class DAA, "Derivative-Augmented Array"

バージョン 公開済み リリース ノート
1.2.0

Efficiency improvements in mpoly.mldivide and mpoly.pagemldivide. Added rcond output to mpoly.pagemldivide and mpoly.pageinv. Revised test_mpoly.m.

1.1.6

Replace sqrt(x) with sqrt(complex(x)) when isgpuarray(x) && isreal(x) && any(X(:)<0).

1.1.5

Don't use decomposition on gpuArray data.

1.1.3

Made gpuArray and inferior class: classdef (InferiorClasses = {?gpuArray}) ...

1.1.2

Corrected upload files from last version.

1.1.1

Added global asgn function, modified test_mpoly.

1.1.0

code revisions
new files: besselj.m, test_besselj.m, mpoly_tutorial.mlx
Included link to algorithm document reference in mpoly.m.

1.0.0