Documentation for jbiu/

Generated by IDLdoc

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

math/

dotp.pro


top source dotp

Math

result = dotp(a, b)

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