scalarProjection: Computes the scalar projection of vector 'a' onto vector 'b',...

View source: R/expression_funks.R

scalarProjectionR Documentation

Computes the scalar projection of vector a onto vector b, i.e. the length of the segment of b 'overshadowed' by a. See en.wikipedia.org/wiki/Vector_projection

Description

Computes the scalar projection of vector a onto vector b, i.e. the length of the segment of b 'overshadowed' by a. See en.wikipedia.org/wiki/Vector_projection

Usage

scalarProjection(a, b)

Arguments

a

numerical representing first vector

b

numerical representing second vector

Value

A scalar value, the length of the segment of b overshadowed by a.


asishallab/GeneFamilies documentation built on May 22, 2023, 11:30 a.m.