math/
dotp.pro
top source dotp
Math
Calculates the scalar product of two vectors.
Return value
The scalar product of A and B.
Parameters
- a in
First vector.
- b in
Second vector.
Examples
a = [1., -1.5, 2.]
b = [-3., -2., 1.5]
adotb = DOTP(a,b)
Author information
- History:
Written by: Jeremy Bailin 12 June 2008 Public release in JBIU
File attributes
| Modification date: | Wed Apr 15 16:07:54 2009 |
| Lines: | 36 |
![[attach.png]](../idldoc-resources/attach.png)