« first day (489 days earlier)   

3:57 AM
Blah
 
 
11 hours later…
2:52 PM
morning all! two (rather) related questions which I'm quite sure have been answered on the site before. Firstly, is it possible to print solutions that Solve obtains as Solve finds them? For instance, to find solutions to the following question takes a really long time; `Solve[{-2*a^3 + b^3 + c^3 == 36650, 0 < a < 10000, 0 < b < 10000,
0 < c < 10000}, {a, b, c}, Integers]` - is there a way to print out the solutions as they are determined?
My workaround for that is `Do[soln =
Solve[{-2*a^3 + b^3 + c^3 == 36650, c == dummyc, 0 < a < 10000,
0 < b < 10000}, {a, b, c}, Integers];
If[Length@soln > 0, Print[soln]], {dummyc, 1, 10000}]`, but I think that it's slowing down the evaluation significantly.
Secondly, is it possible to obtain the partial results of a calculation that one has aborted? Often, I will type a line of code involving a Table[], only to realize that it's taking far longer than I would like. However, often, the evaluation has already taken some processor time, and I would like to see the result of the evaluation so far. Is there any way to recover the partial Table[] that has been generated?
 
3:22 PM
If you think that I should post this as a question instead I shall :)
 
 
1 hour later…
4:36 PM
What's the directive for solid lines? E.g. Graphics[{Dashed, some lines}] will give me dashed lines, but I want to have some dashed lines and then change the directive so that the following lines will be solid again (that directive is not linked in the manual to for example dotted and dashed!)
 
@Calle Just group them.
 
@J.M. Group them how do you mean?
 
Graphics[{{Dashed, (* lines I want to dash *)}, {(* lines I don't want to dash *)}}]
 
@J.M. I see, thank you very much.
 
Nested lists and Directive[] are useful for fine-tuning the formatting of primitives.
 
4:45 PM
:)
Good advice
 
 
3 hours later…
8:05 PM
Close all notebooks except this one: NotebookClose /@ DeleteCases[Notebooks[], EvaluationNotebook[]]
 

« first day (489 days earlier)