Learn R Programming

optR (version 1.2.5)

summary.optR: Generate Summary for optR class

Description

summary function generates the summary for the optR class

Usage

"summary"(object, ...)

Arguments

object
: Input of optR class
...
: S3 method

Examples

Run this code
# Solving equation Ax=b
A<-matrix(c(6,-4,1, -4,6,-4,1,-4,6), nrow=3,ncol=3, byrow = TRUE)
b<-matrix(c(-14,36, 6), nrow=3,ncol=1,byrow=TRUE)
Z<-optR(A, b, method="cgm")
summary(Z)

Run the code above in your browser using DataLab