Learn R Programming

walkr (version 0.4.0)

complete_solution: Complete Solution

Description

Given matrix equation \(Aw=b\), find the basis representation of the complete solution (an affine transformation), returning the homogeneous and particular solution which describe the polytope in alpha-space

Usage

complete_solution(A, b)

Arguments

A

is the lhs of the matrix equation \(Ax=b\)

b

is the rhs of the matrix equation \(Ax=b\)

Value

a list object, with the first element($particular) as the particular solution and the the second element as a matrix with its columns containing the basis of the null space($homogeneous)

Examples

Run this code
# NOT RUN {
A <- matrix(1, ncol = 3)
b <- 0.5
complete_solution(A, b)

# }

Run the code above in your browser using DataLab