<< Prev        Next >>

ID : 293

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 : 293

<< Prev        Next >>