Tag Info

New answers tagged

1

Needs["Developer`"]; a = {{1, 2}, {3, 4}, {99, 2}} // ToPackedArray; b = {1.1, 1.2, 1.3} // ToPackedArray; c = SparseArray[a -> b]; PackedArrayQ /@ {a, b, c} {True, True, False} Hence, a and b were NOT unpacked. UPDATE Needs["Developer`"]; a = Table[{i, i + 1}, {i, 1, 10000000}]; b = Table[RandomReal[], {i, 1, 10000000}]; c = SparseArray[{a ...



Top 50 recent answers are included