MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Help

  • To: mathgroup at smc.vnet.net
  • Subject: [mg28196] Help
  • From: Yannis.Paraskevopoulos at ubsw.com
  • Date: Wed, 4 Apr 2001 04:13:20 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi all,

I would appreciate your help on the following problem:


assume that we have a matrix m with dimensions (RxC) and a vector s 
with dimensions (Rx1). Now what I want is to create another matrix Q

If m[[i,j]]>s[[i]], then Q=(m[[i,j]]-s[[i]])/s[[i]], for {i,1,R},{j,1,C}


I'm sure there must be an elegant and fast way to do that.


Best Regards

yannis




Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.



  • Follow-Ups:
    • Re: Help
      • From: Tomas Garza <tgarza01@prodigy.net.mx>
  • Prev by Date: ShiftLeft
  • Next by Date: Serious bug in MatchQ causes crashes and incorrect results
  • Previous by thread: ShiftLeft
  • Next by thread: Re: Help