>  Docs Center  >  Libraries  >  JBIU  >  DOTP
Libraries

DOTP

DOTP

Name


    DOTP

Purpose


    Calculates the scalar product of two vectors.

Category


    Math

Calling Sequence


    Result = DOTP(A, B)

Inputs


    A: First vector.
    B: Second vector.

Outputs


    The scalar product of A and B.

Example


    a = [1., -1.5, 2.]
    b = [-3., -2., 1.5]
    adotb = DOTP(a,b)

Modification History


    Written by: Jeremy Bailin
    12 June 2008 Public release in JBIU



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
My Account    |    Contact Us