|
From: | David Spies |
Subject: | Re: Fwd: Considering adding a "dispatch" function for compile-time polymorphism |
Date: | Tue, 5 Aug 2014 23:50:07 -0600 |
I think the same could be said of the Range type.NDArray is not a valid substitute for Sparse, DiagArray2, or PermMatrix
(as all of these are "sparse" in the sense that they are mostly zeros
and so it's necessary to use the proper nz-iterator types). As soon as
these matrices exceed the bounds of octave_idx_type, they can no longer
be converted to an NDArray, but long before that point, converting can
result in hideously inefficient behavior and can cause Octave to consume
all of a machine's memory and crash.
[Prev in Thread] | Current Thread | [Next in Thread] |