Learn R Programming

fuzzylink (version 0.2.1)

dot: Compute the dot product between two vectors

Description

Compute the dot product between two vectors

Usage

dot(vec1, vec2)

Value

A numeric

Arguments

vec1

A numeric vector

vec2

Another numeric vector

Examples

Run this code
dot(c(0,1), c(1,0))

Run the code above in your browser using DataLab