Documentation for jbiu/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

math/

dotp.pro

topdotp

Math

result = dotp(a, b)

Calculates the scalar product of two vectors.

Return value

The scalar product of A and B.

Parameters

a in required

First vector.

b in required

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

Modifcation date: Fri Jun 13 10:51:53 2008
Lines: 36