Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Facebook Adept Scientific on Twitter Adept Scientific on YouBube Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Buy Mathcad Now
• View Mathcad Pricing
• Download a Demo
• Download Mathcad Express
•  Request a Brochure
• Download a Brochure
• Find out about Training
• Meet Our Team
• Read our RSS Feeds

Learn More

Mathcad Home
Mathcad Prime 2.0
Migration Guide

Version Comparison Chart
Mathcad Enterprise
Mathcad for Education
Rave Reviews
Add-ons

System Requirements

Latest Information

New Features in Mathcad
Prime 2.0

Mathcad Express
Mathcad Prime 2.0 movies
Using Mathcad and Excel
Return on Investment

Service & Support

Frequently Asked
Questions

Search the Knowledge
Base

Join the Discussion List
Search the List Archive

List Archives >  Mathcad List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[mathcad] Vectors in an function

Search email archive for  

[mathcad] Vectors in an function
Author: Chris Wilkinson    Posted: Mon, 15 Sep 2003 10:27:16 -0400
Hello All
If x is a vector and I write exp(-x) I get a vector result. If I write
t*exp(-t) I get a single number. I presume what is happening is that since x
and exp(-x) are both vectors, the '*' operator returns the dot product ie
sum of the products of the elements.

Now consider f(a)=a*exp(-a). I would expect that if x is a vector, f(x)
would return a vector but it doesn't it returns a scalar. So it seems that
the whole vector is passed inside the function rather than element by
element.

What I need is some way to write the function to evaluate element by element
instead of the default way. I thought that the vectorize operator would do
that but it doesn't.

Any ideas?

Best Regards

Chris Wilkinson * Senior Research Scientist
CALCE Electronics Products and Systems Center * 3200 Martin Hall
University of Maryland * College Park * MD * 20742 * USA
Tel 1 301 405 4563, Fax 1 301 314 9269


---
The Mathcad List - Discussion, Support & News
Contributions: /> Hosted by: Adept Scientific http://www.adeptscience.com
List Archive: http://lists.adeptscience.co.uk/
---
Would you like this to come to a different email address?
---
Simply leave the mailing list (see below) and re-join by
sending a blank email from the new address to:
or
---
If you do not want to be on the Mathcad list, simply send a
blank email (no subject or message needed) to:
/>

Previous by date: [mathcad] RE: Import text file to MathCAD 8 worksheet,  Pergande, Albert N
Next by date: [mathcad] Re: Vectors in an function,  Richard Jackson
Previous thread: [mathcad] RE: Import text file to Mathcad 8 worksheet,  Colonna De Lega, Xavier
Next thread: [mathcad] Re: Vectors in an function,  Richard Jackson



Ready to buy?

Mathcad Prime
Add to shopping basket
£ 1,020.00
Mathcad single user upgrades are no longer available. If you have an old Mathcad licence please contact your local office for options.

Featured Downloads

Mathcad Prime 2.0 Brochure
Mathcad Prime 2.0 Installation and Usage Information
Mathcad Prime 2.0 Installation and Administration Guide
Mathcad Prime 2.0 Keyboard Shortcuts
Mathcad Prime 2.0 Migration Guide
Mathcad Prime 2.0 FAQs

Latest Downloads

Mathcad Whitepaper: Standardizing Engineering Calculations in a Product Development System
Mathcad calculations for chemical and process engineering
Mathcad Case Study - The Rambøll Group deploys Mathcad Enterprise to manage calculations for 1,000 engineers
Mathcad Case Study - Meinhardt Facade Technology Adopts PTC's Mathcad to Improve Calculation Productivity
Mathcad Case Study - Bit Tips Asia Uses PTC's Mathcad in Railway Magnetic Field Calculations

Latest News

“Express delivery" of mathematical computation: Mathcad Express, free, forever
“Express delivery" of mathematical computation: Mathcad Express, free, forever
Mathcad Case Study - The Rambřll Group deploys Mathcad Enterprise to manage calculations for 1,000 engineers
Mathcad Case Study - GKN Revolves Around Aerospace Calculations
Mathcad Case Study - full steam ahead with Mathcad at MAN B&W Diesel AG
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2013, Adept Scientific Ltd.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055