Learn R Programming

spheresmooth (version 0.1.3)

dot: Compute the dot product of two vectors

Description

This function computes the dot product of two input vectors u and v.

Usage

dot(u, v)

Value

Numeric value representing the dot product of u and v.

Arguments

u

Numeric vector.

v

Numeric vector.

Examples

Run this code
dot(c(1,2,3), c(4,5,6))

Run the code above in your browser using DataLab