Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Extracting info from matrix

by injunjoel (Priest)
on Aug 10, 2005 at 20:25 UTC ( [id://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.

-InjunJoel
"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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-26 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found