octave-maintainers
[Top][All Lists]
Advanced

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

Updating who/whos


From: Oyvind Kristiansen
Subject: Updating who/whos
Date: Wed, 4 Feb 2004 05:20:51 +0100 (CET)

I've written a patch for updating who/whos.

What's new:
-ability to print information on memory used by variables
-ability to print descriptor of dimensions, instead of just rows and cols
(as it is today)

Two internal variables now rule the output from who/whos:
-who_traditional=true|false (defaults to false), tells Octave what
ordering is to be used per line of information, and what kind of
information is to be displayed. who_traditional=true will
cause an output similar to the output from who/whos in Matlab.
who_traditional=true, will cause an output much like the existing output.
-who_print_dims controls how many dimensions will be displayed. In Matlab,
when an array is 2x3x2x4, Matlab will tell it's a 4-D array. Octave will
check who_print_dims to find out how to print this information.

Cheers,
Oeyvind

Attachment: test_who.m
Description: Text document

Attachment: patch
Description: Text document


reply via email to

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