# Tag Info

2

Properties for SparseArray and InterpolatingFunction objects SparseArray objects can accept a range of Properties (or Methods) that allow the efficient extraction of certain information, most commonly "AdjacencyLists" or "NonzeroPositions" as a frequently faster alternative to Position. I started this answer to detail them but as it grew I came to believe ...

7

InternalPartitionRagged This one has a usage statement! InternalPartitionRagged[Range[14], {3, 5, 2, 4}] {{1, 2, 3}, {4, 5, 6, 7, 8}, {9, 10}, {11, 12, 13, 14}} Note that Length[list] must equal n1 + ... + nk. (* changed the last 4 to 3 *) InternalPartitionRagged[Range[14], {3, 5, 2, 3}] InternalPartitionRagged[Range[14], {3, 5, 2, 3}] ...

12

InternalInheritedBlock What does InternalInheritedBlock do? Daniel's MathGroup post Strange behaviour of InternalInheritedBlock How safe is the use of Block and InternalInheritedBlock InternalLocalizedblock What is the purpose of InternalLocalizedBlock? InternalBag InternalBag inside Compile Daniel Lichtblau's answer On the use of of ...

12

CompileInnerDo This is the one that initially struck me as interesting since I use compiled functions quite a lot. From the documentation of Do: Unless an explicit Return is used, the value returned by Do is Null. But that doesn't seem to be the case for CompileInnerDo! f1 = Compile[{{x}}, Module[{a}, a = x; Compile`InnerDo[a++, {i, 10^8}]] ...

Top 50 recent answers are included