Ask Your Question
0

Why does "_" not give the last computed result?

asked 2016-11-14 10:36:35 -0500

I have a few calculations and want the numeric value of the last result in addition to the rational one given. I tried using N(_) but did not get the numeric of the last result but that of a one of the other results. I tried this for a few of the results and always get the same numeric result, the wrong one. Help.

edit retag flag offensive close merge delete

Comments

You'll have to tell us exactly which platform you are on, which notebook or other thing ... thanks for all info!

kcrisman gravatar imagekcrisman ( 2016-11-14 12:03:45 -0500 )edit

Sorry. Using a .sagews within Sagemathcloud. I am running macOS Sierra with Safari. I read a question/answer on this site that stated to use "_" to use the last computed result, so I gave it a try, but no go.

briandbrady gravatar imagebriandbrady ( 2016-11-14 13:31:17 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-14 13:59:00 -0500

updated 2016-11-14 14:16:27 -0500

From the worksheet where this is happening in SageMathCloud, click the "help" button at the top and describe your problem.

The SageMathCloud team will look into the problem.

Last month (2016-10) a problem with underscore in SageMathCloud Sage worksheets was reported on the sage-cloud mailing list as Underscore issue, and was solved as smc issue 1107.

It's not clear whether the problem you are reporting is related to that, though.

edit flag offensive delete link more

Comments

I just created a ticket thru SMC for this issue. I tested using "_" with a simple expression and received NameError: name '_' is not defined

briandbrady gravatar imagebriandbrady ( 2016-11-14 20:37:19 -0500 )edit

BTW, I am using using %typeset_mode=True

briandbrady gravatar imagebriandbrady ( 2016-11-14 20:42:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-11-14 10:36:35 -0500

Seen: 61 times

Last updated: Nov 14 '16