Description Usage Arguments Details Value See Also Examples
tropicalsparse.storage function is used to apply coo, csr and csc
storage techniques on the sparse matrix in Tropical Algebra.
1 | tropicalsparse.storage(M, store, algebraType)
|
M |
is Matrix |
store |
is storage technique. |
algebraType |
is string input that can be |
The function tropicalsparse.storage recieves a matrix as first input, storage technique as
second input and the type of Tropical Algebra as third input. All the inputs are compulsory. store can
be coo, csr and csc. algebraType is used to specify type of Tropical Algebra. This
can be minplus or maxplus. For more details about algebraType, see detail section of
check.infinityM or check.infinityV. If store is equal to coo then the
function returns a list containing three arrays that are row_Indices_COO, col_Indices_COO and
values_COO. If store is equal to csc then the function returns a list containing three arrays
that are col_Pointer_CSC, row_Indices_CSC and values_CSC. If store is equal to csr
then the function returns a list containing three arrays that are row_Pointer_CSR,
col_Indices_CSR and values_CSR. These storage techniques are especially designed for sparse
matrices and are very helpful and time saving.
Returns a list result that contains three arrays depends upon the store input.
tropicalsparse.add, tropicalsparse.mv.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.