> Making a "busybox" style executable that replaces all coreutils
I wonder if DaemonMode (https://github.com/dmolina/DaemonMode.jl) is the right approach for this, having each of those tools' functionality loaded in the server process, and calling out to them from a client when a tool is invoked.
> a complete base package for sparse matrices, including kronecker products etc.
SparseArrays is a standard library package for sparse matrices and arrays. kron is in the LinearAlgebra standard library. So you can just do
using LinearAlgebra
using SparseArrays
and then do any kron product you want, whether sparse matrices with other sparse matrices, or dense ones, or any other array type.
> and then do any kron product you want, whether sparse matrices with other sparse matrices
Thanks! Will try it with the new release. Last time I tried, apparently it converted the sparse matrix to dense before calling kron, and (expectedly) it failed due to memory error. For example, try to compute the adjacency matrix of a grid graph of size 1000x1000. It is the kronecker product of two tridiagonal matrices of that size. It only has four million non-zero entries, which are instantaneous to compute, but if you want to store all the zeros you'll need a few terabites of RAM.
I wonder if DaemonMode (https://github.com/dmolina/DaemonMode.jl) is the right approach for this, having each of those tools' functionality loaded in the server process, and calling out to them from a client when a tool is invoked.
> a complete base package for sparse matrices, including kronecker products etc.
SparseArrays is a standard library package for sparse matrices and arrays. kron is in the LinearAlgebra standard library. So you can just do
and then do any kron product you want, whether sparse matrices with other sparse matrices, or dense ones, or any other array type.