User Portlet
Discussions |
---|
How would you do the same operation but multiply the first row by -3 then add the first row to the second row instead. |
I think we're both ok on that score! |
Yes, Thread is not necessary (though it gives a nice speed up). In the examples with (unevaluated) Thread or (unevaluated) %, ContourPlot3D doesn't know it has been given equation(s), and it can't work with a function that evaluates to... |
The typical alignment tools for 2D alignment are [b]Grid[/b] and [b]GridBox[/b]. These can be created by code or... |
The function Part can be useful, because it allows access to the rows and columns of a matrix. For example, mat[[1]] returns the first row, and mat[[All, 1]] is the first column.... |
I guess that depends on the way it will be used, but what about a definition like the following (of course, the "new" function can be named as desired) [mcode]lpMaximize[c_, rest___] := LinearProgramming[-c, rest] lpMaximize[{1, 1}, {{1, 2}}, {3},... |