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 8880735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:12:59+00:00 2026-06-14T20:12:59+00:00

I have some calculations with an arbitrary function. In the output, Mathematica always shows

  • 0

I have some calculations with an arbitrary function. In the output, Mathematica always shows the function arguments. I would like to tidy the notation a bit, by hidding the arguments in the output. How can I do that? Or even better, is there a way to write the function arguments just once in the code? Remembering it’s an arbitrary function.

For example, its something like this:

f[x,y] + (f[x,y])^2 = ...

And I prefer like this:

f + f^2 = ...

Thanks!

  • 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-06-14T20:13:00+00:00Added an answer on June 14, 2026 at 8:13 pm

    You mean just for display purposes? May be a simple /. ?

    Clear[x, y, f]
    expr = f[x, y] + (f[x, y])^2 == 34;
    expr /. f[__] -> f
    

    gives

    Out[29]= f + f^2 == 34
    

    You can even modify $PrePrint to do this automatically

    Clear[x,y,f]
    $PrePrint=#/.f[__]->f&;
    expr=f[x,y]+(f[x,y])^2==34
    
    Out[6]= f+f^2==34
    
    expr
    Out[7]= f+f^2==34
    

    To get it back, do

    $PrePrint=.
    expr
    
    Out[10]= f[x,y]+f[x,y]^2==34
    

    I am not brave enough to do this myself in actual programming, but it is there to try.

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

Sidebar

Related Questions

I have a loop like this: for i=1:no %some calculations fid = fopen('c:\\out.txt','wt'); %write
I have a table that I'd like to run some calculations on but this
I have some useful methods for physics calculations like acceleration / deceleration, speed, and
I have some software written in VB.NET that performs a lot of calculations, mostly
I have a small app, where user can make some calculations and solve equations.
I have a method myButtonAction which performs some heavy calculations, which I need to
I have a javascript function which needs to do a numerical calculation. Some of
I have some arbitrary pixel data that I want to save as a PNG.
I have some very heavy code to develop and want to make some calculations
I have a web app on GAE written in Go that performs some calculations

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.