<< Prev        Next >>

ID : 3922

Dot

Function

To return an inner product calculation result of vector type data.

Syntax

Dot(vector,vector)

Guaranteed Entry

Vector
Designate vector type data.

Return Value

Return an inner product calculation result by double precision real number type data.

Description

An inner product calculation result of vector type data is returned.

Related Terms

Cross

Attention

-

Example

'!TITLE "DENSO Robot Program"
Sub Sample_Dot

  Dim aaa As Vector
  Dim bbb As Single

  aaa = V( 40, 5.5, 60 )

  bbb = Dot( aaa, V( -10, 50, 10 ) )

  ' Display calculation result on the message output window
  PrintDbg bbb

End Sub

ID : 3922

<< Prev        Next >>