vecjection: Vector projection and rejection

vecjectionR Documentation

Vector projection and rejection

Description

Oftentimes it is useful to constrain a vector to lie on a line or a plane. Vector projection and rejection is able to do these operations. Projection reduces all vectors to lie on the line of the vector given, and rejection reduces all vectors to lie on the place normal the the specified vector.

Usage

project(x, onto)

reject(x, from)

Arguments

x

Vectors to project or reject

onto, from

The vector to project onto or reject from


MrMallIronmaker/dddr documentation built on May 11, 2022, 8:39 p.m.