GetB: Calculate B function

Description Usage Arguments Examples

View source: R/GetB.R

Description

This function solve numericaly the non lineal inequation of the Delta system. Also return the s(i) values of the equation.

Usage

1
GetB(mx, tol = 1e-12, maxits = 1000)

Arguments

mx

Matrix. Modified matrix to have a solution. Usually GetMx$M1 for k>2 and GetMx$M2 in case of k = 2.

tol

Double number. Indicate the precision of the numeric method to calculate B. Expected to be 1e-6 <= tol <= 1e-15.Default is 1e-12.

maxits

Whole number. Indicate the maximum number of iterations of the numeric method to calculate B. Expected to be 100 <= maxits <= 5000. Default is 1000.

Examples

1
2
GetB(mx = matrix(c(1,0,0,0,2,0,0,0,3),3,3),tol = 1e-12, maxits = 1000)
GetB(mx = matrix(c(1,2,0,3,4,0,0,0,1),3,3),tol = 1e-12, maxits = 1000)

Delta documentation built on March 26, 2020, 7:21 p.m.

Related to GetB in Delta...