find_orthogonal_complement: Function: Find Orthogonal Complement

Description Usage Arguments Value Examples

Description

Compute the orthogonal complement of a set of vectors v1, v2, ...

Usage

1

Arguments

A

matrix of real numbers, where each line corresponds to each vector

Value

Returns a matrix A containing the orthogonal complement of the set of vectors.

Examples

1
2
3
4
5
A <- matrix(c(1, 2, 3, 4,
              2, 5, 0, 1), byrow = TRUE, nrow = 2)
print(find_orthogonal_complement(A))
B <- matrix(c(3, 12, -1), byrow = TRUE, nrow = 1)
print(find_orthogonal_complement(B))

JessicaSousa/INF2471.P1 documentation built on May 21, 2019, 4:03 a.m.