#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 10 
Top Prev 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 Next

#math

<zaphyBeeble> just count the number of 8 bit ascii values
<Trixsey> how can I access one string in a matrix though?
<Trixsey> S(1) gives me the first char in the matrix (string 1, char 1)
<Jafet> you want to sort strings by length, or what?
<zaphyBeeble> ok and how do u know when the next line begins?
<Trixsey> Jafet, yah
<Trixsey> zaphyBeeble, they are all equally long
<Trixsey> (filled with whitespace)
<Trixsey> but better would be if I could pick out an element at a time, and count
<zaphyBeeble> oh so can you have like "i jk"
<zaphyBeeble> a whitespace between 2 char?
<Jafet> just write a comparison predicate and use whatever sort function your language library provides?
<Trixsey> zaphyBeeble, that depends on how I write it I guess :p
<zaphyBeeble> :)
<zaphyBeeble> well in a simple string
<zaphyBeeble> either u need 2 demuxes, one for whitespace
<Jafet> what's a demuxe? or demux? or is it demuc...
<zaphyBeeble> "marker"
<zaphyBeeble> something which says "this is whitespace"
<zaphyBeeble> something which says this is "end of line"
<daurnimator> hi all, i forgot how to get a derivitive
<daurnimator> :(
<Jafet> http://en.wikipedia.org/wiki/Delimiter
<daurnimator> something about making the power to one less......
<daurnimator> mind blank :(
<Jafet> derivative... of what?
<daurnimator> a simple equation
<Trixsey> I'll just assume strings dont contain any additional whitespaces
<Jafet> trixsey: what language are you using to do this in?
<Trixsey> daurnimator, f(x) = x^2+2x+3 then f'(x) = 2x+2
<Trixsey> Jafet, matlab
<daurnimator> ah, thats right, multiply the power by the coefficient
<Jafet> ahh... another fourth generation language... my code-writing hands are tied here
<Trixsey> daurnimator, there are a few exceptions though
<zaphyBeeble> making the power one less can be true about approximations too...
<Trixsey> is it e^x that is ex^x?
<Trixsey> when deriving?
<Trixsey> x*e^x
<Trixsey> sorry, silly me :p
<Trixsey> ohh no
<Trixsey> f(x) = e^x
<Trixsey> f'(x) = e^x
<Trixsey> :]
<Trixsey> I knew it was an exception though
<joblot> err, if you are asking e^x ? x e^x (where ? means <, > etc), simply divide by e^x then 1 ? x, or eg e^x > x e^x when 1 > x
<Pieg> hey guys, simple question, what do you call x^2 in english?
<Pieg> or 5^2 for that matter, any number ^2
<int-e> x squared
<Pieg> ah, thats it, thanks mate
<Pieg> and ^3 is.. x cubed* ;x

Previous Page  Next Page

Search ircarchive.info