#perl - Sun 11 Mar 2007 between 08:51 and 08:56



xandscissors
__Ace__like, say I have this:
[ 1.334 2.3255 3.225 4.3235 5.14 6.729 7.75 8.6535 0]
[ 9.334 8.3255 7.225 6.3235 1.14 2.729 0 0 0]
[ 0 0 0 0 19.334 18.3255 17.225 14.3157 0]
xanddon't paste
__Ace__sorry, thought it was easier that way
rindolf__Ace__: isn't there a slice method or module?
__Ace__yea, slice
but I dont get it..
ayrnieudon't get what? Ask a question.
__Ace__well, Im having trouble to slize out say row 0, col 3 to row 3, col 5
all I get with slice is rowwise
ayrnieuyou don't slice with x,y coordinates, anyway.
You can only slice out rows at a time? Then rotate the matrix, perform any slices, and rotate it back.
rindolf__Ace__: it is possible - I'm sure of it.
__Ace__: let me see.
__Ace__rotate?
dazjorzBinGOs: there?
__Ace__that cant be effective
rindolf: that would be awesome!
with: slice("1:3,0:1");
I get:
[2.3255 3.225 4.3235]
[ 7.75 8.6535 0]
integralTranspose should be constant time...
dazjorzI want to change somebody's mode, but POE::Component::IRC's explanation is a bit vague
__Ace__so yes, no x,y slicing :)
dazjorz"Request a mode change on a particular channel or user. Takes at least one argument: the mode changes to effect, as a single string (e.g., "+sm-p+o"), and any number of optional operands to the mode changes (nicks, hostmasks, channel keys, whatever.)"
ayrnieuace - it "can't be effective"? If you plan to deal with vectors much, you should learn an APL.
dazjorz"Or just pass them all as one big string and it'll still work, whatever. I regret that I haven't the patience now to write a detailed explanation, but serious IRC users know the details anyhow."
xanddazjorz: you can't change other peoples modes usually
dazjorzxand: My bot is an op in several channels, I want to learn it the }op command for i.e. myself.
xandthat's a channel mode
dazjorzxand: /mode +o dazjorz
xandthat's a channel mode
dazjorzxand: how can that be a channel mode? :/
ayrnieuno, /mode +o #channeel dazjorz
dazjorzah
xandbecause

Page: 4 11 18 25 32 39 46 53 60 67 74 81 88 

IrcArchive