Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4045730
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:28:15+00:00 2026-05-20T13:28:15+00:00

Continuing with my matrix multiplication question , I want to show the following expression

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T13:28:16+00:00Added an answer on May 20, 2026 at 1:28 pm

    I don’t think this is a really good idea (overloading internal functions and all; and && is And not BitAnd, which you wanted to use in the previous question), but you asked for it and you get it:

    CircleTimes[a_?MatrixQ, b_?MatrixQ] := 
     Inner[HoldForm[BitAnd[##]] &, a, b, HoldForm[BitOr[##]] &]
    
    Unprotect[BitAnd];
    Unprotect[BitOr];
    BitAnd /: Format[BitAnd[a_, b_]] := a && b;
    BitOr /: Format[BitOr[a_, b_]] := a || b;
    Protect[BitAnd];
    Protect[BitOr]
    
    mat1 = Array[Subscript[a, #1, #2] &, {2, 2}];
    mat2 = Array[Subscript[b, #1, #2] &, {2, 2}];
    

    output of newly defined CircleTimes

    The advantage of defining the operation as CircleTimes is that you get the CircleTimes symbol and operator for free.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Continuing from this question : When I am trying to do fopen on Windows,
I am continuing on from a previous question relating to loading instances of plugins
I have a non-fixed dimensional matrix M, from which I want to access a
I have an ASCII file containing a matrix of real numbers. I want to
i want to read text file containing the data of 4X4 matrix each element
I've got an n-by-k sized matrix, containing k numbers per row. I want to
Let's say I have a 100x100 matrix A, and I want to get another
I came across this question in an interview. You have a nxn matrix containing
Continuing on previous questions ( here , and here ), I implemented a basic
Continuing on my attempt to create a DateTime class , I am trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.