help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Complex numbers, format preferences, "j" rather than "i"


From: Nicholas Jankowski
Subject: Re: Complex numbers, format preferences, "j" rather than "i"
Date: Thu, 3 Dec 2015 18:33:31 -0500

On Thu, Dec 3, 2015 at 6:02 PM, Mike Miller <address@hidden> wrote:
On Thu, Dec 03, 2015 at 17:55:14 -0500, Nicholas Jankowski wrote:
> Would that be of enough interest to patch the interpreter and have an "USE
> I OR J FOR DISPLAY" flag?

I think that would be reasonable, either a new function like
output_imaginary_unit() or maybe an option to the "format" command. The
drawback of adding a new option to "format" is it might break
compatibility in some way with a future change to Matlab.

--
mike




are there "octave only" flags set somewhere for interpreter behavior? things that wouldn't matter to any m-code because it only affects interpreter display?  I'd have a hard time imagining that the display itself would be a compatiblity issue (unless someone was reading the output stream, and strcmp'ing it expecting i... But they would have had to deliberately set j in Octave... dunno.)

nickj

reply via email to

[Prev in Thread] Current Thread [Next in Thread]