Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 4750

Questions on factoring various types of mathematical expressions, with the use of Factor, FactorInteger, FactorSquareFree and related commands.

4 votes
Accepted

Factor multiplied matrix with vector

I found the solution. It's simply: Table[Coefficient[B[[i]],#]&/@X,{i,Length[B]}] This will go through each element of B, and check the coefficient of each element of X for that B element, creating …
The Quantum Physicist's user avatar
2 votes
3 answers
816 views

Factor multiplied matrix with vector

Say I have a matrix multiplication of the form $$ B = A \cdot x $$ or $$ \begin{align} \begin{pmatrix} a_{11} x_1 + a_{12} x_2 + a_{13} x_3 \\ a_{21} x_1 + a_{22} x_2 + a_{23} x_3 \\ a_{31} x_1 …
The Quantum Physicist's user avatar