[SciPy-dev] Re: Octave array formatting examples

eric eric at scipy.org
Tue Feb 19 03:20:46 EST 2002


----- Original Message -----
From: "janko hauser" <jhauser at ifm.uni-kiel.de>
To: <scipy-dev at scipy.org>
Sent: Monday, February 18, 2002 5:05 PM
Subject: [SciPy-dev] Re: Octave array formatting examples


>
> Fernando Pérez writes:
>  > On Mon, 18 Feb 2002, eric wrote:
>  >
>  > > Hey Fernando,
>  > >
>  > > Here are some sample octave outputs.  At the end is the output of the
format
>  > > command options and their meanings for Octave.
>  >
>  > Thanks. Some comments:
>  >
>  > 1. It can all be done in IPython, no problem. The format thing can be
>  > implemented as a magic command which sets a global (internal) flag, and the
>  > printing subsystem queries that flag at print time.
>  >
>
> I think there is an easier way. The str() representation of arrays is
> done by a module, which can be overloaded or replaced. There was once
> somebody who has done this and also implemented the nice feature to
> only show array up to some size. New users of NumPy had very often the
> suprise, that the building of the output for big arrays take such a
> long time, that it looks like the system is hanging. (The output is
> not streaming).

Do you know where this code is?

eric






More information about the SciPy-Dev mailing list