[Jprogramming] inverse of viewmat

Raul Miller rauldmiller at gmail.com
Tue Jul 17 14:57:54 UTC 2012


On Tue, Jul 17, 2012 at 10:52 AM, Istvan Kadar <istvan.kadar at gmail.com> wrote:
> Dear Forum,
>
> load 'viewmat'
>    a=: ?20 20$2
>    b=:viewmat a
>    $b
> 0 0
>    #b
> 0

The result from viewmat is nothing -- no rows, and no columns of nothing.

>    c=:(viewmat^:_1) b
> |domain error

viewmat is not designed to display nothing.

> |  c=:    (viewmat^:_1)b
>
>    What about?

The |domain error happens before c=: would have happened.

-- 
Raul


More information about the Programming mailing list