« first day (3367 days earlier)      last day (1134 days later) » 

7:58 AM
I have this line:
StringForm["a= `` b= `` c= `` m= `` n= `` p= `` e = `` f = ``", #1, \
#2, #3, #4, #5, #6, #8, #9]
is there any simpler method to specify #1, #2, #3, #4, #5, #6 as they're consecutive?
 
8:16 AM
@anhnha ## would expand all arguments as a sequence.
StringForm itself ignores extra arguments...
 
@kirma that's nice but there is a problem as I skip #7 in the sequence above.
 
Ah, I didn't pay attention to that...
@anhnha Sequence @@ Delete[{##}, 7] would expand to all arguments except #7
 
 
1 hour later…
9:45 AM
thanks
that works
 
 
8 hours later…
5:17 PM
mytup = {{1, 2}, {3, 4}};
mytup1 = {{0, 1}, {1, 2}, {3, 4}};
Position[mytup1, {##}] & @@@ mytup

Out: {{{2}}, {{3}}}
In this case how can I get the answer without list?
 
5:40 PM
hi, this is from the the documentation
What does the 1 mean after the norm?
 
6:14 PM
myfunc[a_, b_, c_, m_, n_, p_, d_, e_, f_] := (-a d - b d e - m +
d m - e n + d e n)/(c d + b d f + f n - d f n + p - d p)
tup1 = {{0, -1, -1, 1, 0, -1, d, 0, 1}, {0, -1, -1, 1, 0, -1, d, 1,
0}, {0, -1, -1, 1, 0, -1, d, 1, -1}, {0, -1, -1, 1, 0, -1, d, -1,
1}, {0, -1, -1, 1, 0, 0, d, 0, 1}};
Plot[myfunc[##], {d, 0, 1},
ImageSize -> 1000,
PlotStyle -> Directive[Red, Thick],
Ticks -> Automatic,
TicksStyle -> Directive[Black, Bold, 20],
GridLines -> Automatic,
GridLinesStyle -> LightGray,
AxesLabel -> {Style["D", 16, Bold], Style["M", 16, Bold]},
how can I remove the curly brackets in the plot (from label section)?
and remove the comma
 
6:26 PM
@Tomi en.wikipedia.org/wiki/Norm_(mathematics) check out the section Taxicab norm or Manhattan norm
 
 
1 hour later…

« first day (3367 days earlier)      last day (1134 days later) »