Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7444

Re: Span Set nasty bug

From Oliver Ruebenkoenig <ruebenko@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Span Set nasty bug
Date 2011-12-26 22:31 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jdask4$kei$1@smc.vnet.net> (permalink)
References <201112261153.GAA14434@smc.vnet.net>

Show all headers | View raw



On Mon, 26 Dec 2011, Shizu wrote:

> Hello there,
>    I think Roby's logic is right.  Oliver's suggestion makes both results wrong -- t[[1,1]] should not be set to 1.
>    The rule ("TableCompileLength" -> 1) is not documented.  Span "1;;0" is not documented either.

This was to illustrate the the behavior can be changed. This is an issue 
with packed arrays. So unpacking (or setting "TableCompileLength" -> 
Infinity) using Developer`FromPackedArray is a better option.

>    It's not safe to use something that is not documented.
>

That is right, you should be cautious.

As Rob mentioned this is with tech support now and is investigated.

Oliver

>    You may want to invent your own version of Set[] for matrices.
>
>

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Span Set nasty bug Oliver Ruebenkoenig <ruebenko@wolfram.com> - 2011-12-26 22:31 +0000

csiph-web