Description Usage Arguments Details Value See Also Examples
row.col.Number
method is used to get the row or column number of a specific value in the
matrix.
1 | row.col.Number(i, x, arr)
|
i |
is an index of array containing non-infinite values of the matrix. |
x |
is total number of rows or columns of the matrix. |
arr |
is an array containing row or column pointer of the matrix. |
The function row.col.Number
recieves three parameters i
, x
and arr
. As
mentioned above i
is an index of array containing non-infinite values of the matrix. This array can only
be obtained in the CSR
and CSC
storage techniques and has zero sparsity. x
is total number
of rows in case of CSR
or total number of columns in case of CSC
of the matrix. arr
is an
array containing row pointer in case of CSR
or column pointer in case of CSC
of the matrix. From
these inputs row.col.Number
finds row or column number of a specific value in the matrix. This function
is used especially for CSR
and CSC
storage techniques.
Returns the row or column number of a specific value if succeded, otherwise NA
.
tropicalsparse.add
, tropicalsparse.mul
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.