Re: [ojAlgo-user] Interface analogous to Numpy?
Mathematics, linear algebra and optimisation
Brought to you by:
apete
From: Anders P. <an...@op...> - 2012-04-20 21:52:31
|
I created a module ExtNumPy in the already existing SVN repository. (Actually tried switching to Git but couldn't get it working.) You'll have to give me your Google user names if you want commit rights to that repository. /Anders On 20 apr 2012, at 16:32, Bruno Daniel wrote: > Dear Stefan, > >> I'm not sure, how jython deals with it. Can it map field-access in python-code to getter/setter methods on java-side? If not, numpy-python code would run only with an additional preprocessing. >> If you don't know, I would offer to check this out. > > You can always use properties in Python. It's explained here, for example: > http://bytebaker.com/2009/03/31/python-properties-vs-java-access-modifiers/ > >> The rest of your post sounds good to me after a first view, although I must admit, that I only used rather basic numpy-stuff yet. For instance I very rarely used reshaping and never used striding, so I might lack enough experience to see problems in your approach. > > Reshaping and striding are seldom used explicitly by the users, but very often > implicitly. > > Best regards > Bruno Daniel > > Stefan Richthofer wrote: >>> There are many fields which are all public. We could replace them by set- >>> and >>> get methods in the adapter. >> >> I'm not sure, how jython deals with it. Can it map field-access in python-code to getter/setter methods on java-side? If not, numpy-python code would run only with an additional preprocessing. >> If you don't know, I would offer to check this out. >> >> The rest of your post sounds good to me after a first view, although I must admit, that I only used rather basic numpy-stuff yet. For instance I very rarely used reshaping and never used striding, so I might lack enough experience to see problems in your approach. >> >> cheers >> >> Stefan >> -- >> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir >> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de >> >> ------------------------------------------------------------------------------ >> For Developers, A Lot Can Happen In A Second. >> Boundary is the first to Know...and Tell You. >> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! >> http://p.sf.net/sfu/Boundary-d2dvs2 >> _______________________________________________ >> ojAlgo-user mailing list >> ojA...@li... >> https://lists.sourceforge.net/lists/listinfo/ojalgo-user > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > ojAlgo-user mailing list > ojA...@li... > https://lists.sourceforge.net/lists/listinfo/ojalgo-user > > |