From: Chris M. <my...@ec...> - 2017-05-15 19:32:07
|
Hi Sarah, Good point. A single dimension is often pretty good and indeed, everything can be mapped to a single dimension. However, I could imagine a 3D grid of reactions/species perhaps being a reasonable example. Harder to think of real uses for more than 3, but there is no reason to limit it. Looking forward to arrays flattening in libSBML. When you get to the point of integrating that with comp flattening, we should chat. It is important to interleave the flattening steps as you go down in the hierarchy. Cheers, Chris > On May 15, 2017, at 12:11 PM, Leandro Watanabe <lea...@gm...> wrote: > > Hi Sarah, > > That would be great :-) > > There is no limitation on the number of dimensions for arrays. I think it was a limitation in a previous version that never concretized. > > I think we can come up with more examples with multiple dimensions. Not sure what would be interesting to put in the spec yet. > > Thanks, > Leandro > > On Mon, May 15, 2017 at 9:42 AM, Sarah Keating <ske...@ca... <mailto:ske...@ca...>> wrote: > Hi Guys > > I was looking into implementing an arrays flattener in libSBML and > realised that the examples in the spec are almost all single dimension; > and the only snippet that uses two dimensions uses a square matrix :-) > > It would be nice to have some more elaborate examples. > > Also, is it true that for the moment arrays limited itself to 2 > dimensions; that is in the back of my head somewhere but I couldn't find > it explicitly in the spec. > > Sarah > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot <http://sdm.link/slashdot> > _______________________________________________ > sbml-arrays mailing list > sbm...@li... <mailto:sbm...@li...> > https://lists.sourceforge.net/lists/listinfo/sbml-arrays <https://lists.sourceforge.net/lists/listinfo/sbml-arrays> > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ > sbml-arrays mailing list > sbm...@li... > https://lists.sourceforge.net/lists/listinfo/sbml-arrays |