Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Extracting info from matrix

by injunjoel (Priest)
on Aug 10, 2005 at 20:25 UTC ( #482750=note: print w/replies, xml ) Need Help??

in reply to Extracting info from matrix

Greetings all,
Though a little more code to illustrate what you have tried up to now might be helpful my intuitive feeling is that $b is a row vector and could therefore be addressed as such. No need for splitting and regexp. Im not sure if you are using PDL::Matrix or PDL::MatrixOps but I know there is an issue with element addressing being either (row, column) or (column, row). I would suggest reading up on PDL::Indexing before rolling out a regexp solution for this, slice should suffice.

"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://482750]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2019-07-21 09:33 GMT
Find Nodes?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?

    Results (7 votes). Check out past polls.