Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9501 > unrolled thread
| Started by | Ralph Dratman <ralph.dratman@gmail.com> |
|---|---|
| First post | 2012-04-07 09:59 +0000 |
| Last post | 2012-04-08 08:19 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: fyi, small note on using Mathematica for object Ralph Dratman <ralph.dratman@gmail.com> - 2012-04-07 09:59 +0000
Re: fyi, small note on using Mathematica for object Zach Bjornson <bjornson@stanford.edu> - 2012-04-08 08:19 +0000
| From | Ralph Dratman <ralph.dratman@gmail.com> |
|---|---|
| Date | 2012-04-07 09:59 +0000 |
| Subject | Re: fyi, small note on using Mathematica for object |
| Message-ID | <jlp36a$15k$1@smc.vnet.net> |
Bobby, Please explain how you mean this. It is not a technique I have been able to find in the Virtual Book or other documentation. What corresponds to a class, and how does one use a class to create one or more object instances? How does one run a method from an object? A brief example would be most helpful. Thank you. Ralph On Fri, Apr 6, 2012 at 5:58 AM, DrMajorBob <btreat1@austin.rr.com> wrote: > Mathematica is already object-oriented WITHOUT all that. What a lot of > overhead for nothing. > > Bobby > > On Thu, 05 Apr 2012 04:49:54 -0500, Nasser M. Abbasi <nma@12000.org> wrote: > >> >> Just FYI, >> >> I wrote this small note on using Mathematica for object-based >> programming. I found that it works really well for me. >> >> Nothing too advanced, just a simple way of using Module[] but >> in a way to emulate object based programming that I did not know >> about before. >> >> http://12000.org/my_notes/object_based_in_mathematica/v1.html >> >> --Nasser >> > > > -- > DrMajorBob@yahoo.com >
[toc] | [next] | [standalone]
| From | Zach Bjornson <bjornson@stanford.edu> |
|---|---|
| Date | 2012-04-08 08:19 +0000 |
| Message-ID | <jlrhm3$epk$1@smc.vnet.net> |
| In reply to | #9501 |
Mathematica's objects like FittedModel are examples of something like OOP. See Darren's post about making these sorts of objects here: http://forums.wolfram.com/mathgroup/archive/2011/Jan/msg00336.html On Apr 7, 2:59 am, Ralph Dratman <ralph.drat...@gmail.com> wrote: > Bobby, > > Please explain how you mean this. It is not a technique I have been > able to find in the Virtual Book or other documentation. > > What corresponds to a class, and how does one use a class to create > one or more object instances? How does one run a method from an > object? > > A brief example would be most helpful. > > Thank you. > > Ralph > > > > > > > > On Fri, Apr 6, 2012 at 5:58 AM, DrMajorBob <btre...@austin.rr.com> wrote: > > Mathematica is already object-oriented WITHOUT all that. What a lot of > > overhead for nothing. > > > Bobby > > > On Thu, 05 Apr 2012 04:49:54 -0500, Nasser M. Abbasi <n...@12000.org> wrote: > > >> Just FYI, > > >> I wrote this small note on using Mathematica for object-based > >> programming. I found that it works really well for me. > > >> Nothing too advanced, just a simple way of using Module[] but > >> in a way to emulate object based programming that I did not know > >> about before. > > >>http://12000.org/my_notes/object_based_in_mathematica/v1.html > > >> --Nasser > > > -- > > DrMajor...@yahoo.com
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web