Description Usage Arguments Examples
The function extractlower
is to extract the strict
lower triangular part of a squared matrix and the function
returnlower
is to return the vector value into a
symmetric matrix with diagonal 1.
1 2 3 | extractlower(A)
returnlower(v)
|
A |
a matrix to be extracted the lower triangular part |
v |
a vector to be returned to a symmetric matrix with diagonal 1. |
1 2 3 | a = matrix(1:100, 10, 10)
b = extractlower(a)
d = returnlower(b)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.