Qurak

CoefficientArrays

లభ్యం

Returns sparse arrays of polynomial coefficients indexed by total degree.

CoefficientArrays[polys, vars]
CoefficientArrays[{a + x - y - z == 0, b + x + 2y + z == 0}, {x, y, z}] → {SparseArray[Automatic, {2}, 0, {1, {{0, 2}, {{1}, {2}}}, {0 + a, 0 + b}}], SparseArray[Automatic, {2, 3}, 0, {1, {{0, 3, 6}, {{1}, {2}, {3}, {1}, {2}, {3}}}, {1, -1, -1, 1, 2, 1}}]}CoefficientArrays[2x + 3y + 4z + 5, {x, y, z}] → {5, SparseArray[Automatic, {3}, 0, {1, {{0, 3}, {{1}, {2}, {3}}}, {2, 3, 4}}]}CoefficientArrays[{2x + 3y + 4z + 5, 6x + 7y + 8z + 9}, {x, y, z}] → {SparseArray[Automatic, {2}, 0, {1, {{0, 2}, {{1}, {2}}}, {0 + 5, 0 + 9}}], SparseArray[Automatic, {2, 3}, 0, {1, {{0, 3, 6}, {{1}, {2}, {3}, {1}, {2}, {3}}}, {2, 3, 4, 6, 7, 8}}]}

అంశాలు

సంబంధితమైనవి

మొత్తం 6300 ఫంక్షన్లు · దీన్ని MCP క్లయింట్ నుండి వాడండి