OmniGraph Node omni.graph.nodes.DotProduct

omni.graph.nodes.DotProduct Properties

Name

Value

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

Python

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Dot Product

__categories

math:operator

__language

Python

Generated Class Name

OgnDotProductDatabase

Python Module

omni.graph.nodes

omni.graph.nodes.DotProduct Description

Compute the dot product of two (arrays of) vectors. If two arrays of vectors are provided, then the dot product will be taken element-wise. Inputs must be the same shape

omni.graph.nodes.DotProduct Inputs

Name

Type

Default

Required?

Descripton

inputs:a

[‘colord[3]’, ‘colord[3][]’, ‘colord[4]’, ‘colord[4][]’, ‘colorf[3]’, ‘colorf[3][]’, ‘colorf[4]’, ‘colorf[4][]’, ‘colorh[3]’, ‘colorh[3][]’, ‘colorh[4]’, ‘colorh[4][]’, ‘double[2]’, ‘double[2][]’, ‘double[3]’, ‘double[3][]’, ‘double[4]’, ‘double[4][]’, ‘double[]’, ‘float[2]’, ‘float[2][]’, ‘float[3]’, ‘float[3][]’, ‘float[4]’, ‘float[4][]’, ‘float[]’, ‘half[2]’, ‘half[2][]’, ‘half[3]’, ‘half[3][]’, ‘half[4]’, ‘half[4][]’, ‘half[]’, ‘normald[3]’, ‘normald[3][]’, ‘normalf[3]’, ‘normalf[3][]’, ‘normalh[3]’, ‘normalh[3][]’, ‘pointd[3]’, ‘pointd[3][]’, ‘pointf[3]’, ‘pointf[3][]’, ‘pointh[3]’, ‘pointh[3][]’, ‘quatd[4]’, ‘quatd[4][]’, ‘quatf[4]’, ‘quatf[4][]’, ‘quath[4]’, ‘quath[4][]’, ‘texcoordd[2]’, ‘texcoordd[2][]’, ‘texcoordd[3]’, ‘texcoordd[3][]’, ‘texcoordf[2]’, ‘texcoordf[2][]’, ‘texcoordf[3]’, ‘texcoordf[3][]’, ‘texcoordh[2]’, ‘texcoordh[2][]’, ‘texcoordh[3]’, ‘texcoordh[3][]’, ‘timecode[]’, ‘vectord[3]’, ‘vectord[3][]’, ‘vectorf[3]’, ‘vectorf[3][]’, ‘vectorh[3]’, ‘vectorh[3][]’]

None

Y

The first vector in the dot product

uiName

A

inputs:b

[‘colord[3]’, ‘colord[3][]’, ‘colord[4]’, ‘colord[4][]’, ‘colorf[3]’, ‘colorf[3][]’, ‘colorf[4]’, ‘colorf[4][]’, ‘colorh[3]’, ‘colorh[3][]’, ‘colorh[4]’, ‘colorh[4][]’, ‘double[2]’, ‘double[2][]’, ‘double[3]’, ‘double[3][]’, ‘double[4]’, ‘double[4][]’, ‘double[]’, ‘float[2]’, ‘float[2][]’, ‘float[3]’, ‘float[3][]’, ‘float[4]’, ‘float[4][]’, ‘float[]’, ‘half[2]’, ‘half[2][]’, ‘half[3]’, ‘half[3][]’, ‘half[4]’, ‘half[4][]’, ‘half[]’, ‘normald[3]’, ‘normald[3][]’, ‘normalf[3]’, ‘normalf[3][]’, ‘normalh[3]’, ‘normalh[3][]’, ‘pointd[3]’, ‘pointd[3][]’, ‘pointf[3]’, ‘pointf[3][]’, ‘pointh[3]’, ‘pointh[3][]’, ‘quatd[4]’, ‘quatd[4][]’, ‘quatf[4]’, ‘quatf[4][]’, ‘quath[4]’, ‘quath[4][]’, ‘texcoordd[2]’, ‘texcoordd[2][]’, ‘texcoordd[3]’, ‘texcoordd[3][]’, ‘texcoordf[2]’, ‘texcoordf[2][]’, ‘texcoordf[3]’, ‘texcoordf[3][]’, ‘texcoordh[2]’, ‘texcoordh[2][]’, ‘texcoordh[3]’, ‘texcoordh[3][]’, ‘timecode[]’, ‘vectord[3]’, ‘vectord[3][]’, ‘vectorf[3]’, ‘vectorf[3][]’, ‘vectorh[3]’, ‘vectorh[3][]’]

None

Y

The second vector in the dot product

uiName

B

omni.graph.nodes.DotProduct Outputs

Name

Type

Default

Required?

Descripton

outputs:product

[‘double’, ‘double[]’, ‘float’, ‘float[]’, ‘half’, ‘half[]’, ‘timecode’]

None

Y

The resulting product

uiName

Product