dot-project_vec2vec: Projection of vector onto another vector

.project_vec2vecR Documentation

Projection of vector onto another vector

Description

Returns the component of vec1 that is orthogonal to vec2 if orthogonal is TRUE, and the component of vec1 that is parallel to vec2 if orthogonal is FALSE.

Usage

.project_vec2vec(vec1, vec2, orthogonal, tol = 1e-06)

Arguments

vec1

vector

vec2

vector

orthogonal

boolean

tol

small positive number

Value

vector


linnykos/multiomicCCA documentation built on July 17, 2025, 3:16 a.m.