Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show in explicitly viewable form in Mathematica

Continuing with my matrix multiplication question, I want to show the following expression in explicit viewable form in mma:

the form I want to show in mma

Even if in the case I give a11, ..., b11, ... explicit numbers, I still want it to be (0&&1)||(1&&1) in unevaluated form. Can anyone please help?

like image 652
Qiang Li Avatar asked Feb 22 '26 13:02

Qiang Li


1 Answers

Use

Inner[And, Array[Subscript[a, ##] &, {2, 2}], 
  Array[Subscript[b, ##] &, {2, 2}], Or] // MatrixForm

enter image description here

Edit. Having followed up on your previous question, I think you might consider

Inner[HoldForm[And[##]] &, amat, 
  bmat, HoldForm[Or[##]] &] // MatrixForm

enter image description here

like image 165
Sasha Avatar answered Feb 24 '26 21:02

Sasha