Message Boards Message Boards

0
|
6301 Views
|
5 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Is it possible to implement this algorithm in Mathematica?

Posted 10 years ago

After having tried to make the translation of this article was in Spanish, I am writing to share it and to ask them if it is possible to implement it in Mathematica, ask this because my teacher says that the knows how only with object-oriented programming, I'm moving in construction after I will share grasp what I am doing. Greetings to all and any feedback is welcome.

Here is the article, I hope this is understandable.

Attachments:
POSTED BY: Luis Ledesma
5 Replies
POSTED BY: Daniel Lichtblau

Whether you're doing object oriented programming or not, the questions you need to ask are "what are my data types?" and "what functions apply to them?". For complicated problems, using a functional programming approach can be good, especially at the start. You break the problem done into small pieces and write functions for each of those small pieces. That makes it easier to debug. Also, rule based programming methods can be used to make simple functions that manipulate the data.

POSTED BY: Frank Kampas
Posted 10 years ago

Hi David, you have fully understood the idea of my question, I would comment that I'm trying not to use object oriented programming to solve this problem,but I'm having some problems

POSTED BY: Luis Ledesma
POSTED BY: David Reiss

It's possible to do object oriented programming in Mathematica, as shown by Roman Maeder, quite some time ago. http://library.wolfram.com/infocenter/Articles/3243/

There is also an add-on package called Objectica which does object oriented programming in a more efficient manner than Roman Maeder's approach, which was mainly designed to illustrated the principles.

However, Mathematica supports procedural, functional and rule-based programming, which is sufficient for any problem.

POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract