Impact factor for posts is a measurement of importance.

Impact factor for users reflect their authority, reputation and contribution on a particular topic.

Rating reflects the quality of posts.

Rating on Voofie is not a simple average of all ratings, but a weighted average of rating, weighted by the impact factor of users who rated.

Explore exciting communities of

An open source project with basic packages in MathOO

08 Nov 10

A package is released as open source project in GoogleCode/MathOO-packages. The aim of the project is to provide basic utilities and basic classes using MathOO, so that you can use it in an object oriented way. In the initial release, 1.0b, a dictionary class (associated array) is provided.

Bookmark and Share

Content

Introduction

MathOO is a Mathematica package which adds object-oriented programming to Mathematica in a simple and easy to use way[1]. With object-oriented capability, basic libraries which provides utilites function and useful classes is vital to the users. Therefore, an open source project is hosted in GoogleCode/MathOO-packages, in the hope that users of MathOO can contribute to it to make it complete. I will add different classes to it that I find useful. If you have written something that you want to share, you may send me and joining the project in Google code.

Download and Install

To use the package, you need to first install MathOO. Please read this article for details:

MathOO: Adding Python style Object Orientation to Mathematica with MathOO (1.0 beta launch) [Alternative to Objectica]

You may download the initial release here: MathOO-packages-1.01b.zip.

There are two files inside:

  • basic.nb
  • basic.m

basic.m is an auto-generated package files from basic.nb.  You should make your own change to basic.nb if you want to modify it. The basic.m can be copy to the directory: $UserBaseDirectory\Applications. So that you can load the package easily by running:

Get["basic.m"]

After running the command, you will find a NewClass, dict. This class is very similar to Python dict.

Documentation

In this stage, there is only one class dict in basic.m. Please read:

Documentation of dict : A Mathematica Dictionary (Associative Array) using MathOO

to learn how to use it.

Footnotes and Citations

  1. Ross Tang"MathOO: Adding Python style Object Orientation to Mathematica with MathOO (1.0 beta launch) [Alternative to Objectica]",Retrieved 8 November 2010
0 Comments

Please login to post comment.

What is Voofie?

Voofie organizes knowledge, discovers useful resources and recognizes knowledgable users.

Bookmark your blog in Voofie to get more traffic as well as building a reputation in your field!

Explore more about it. Become a member—our FREE Registration takes just seconds.

Page Info
12Impacts
0/0 rates
1127
Your Rating:
Version: 5
Last update: 12 Nov 10
History Permalink
Author
Avatar for ross_tang

Ross Tang (ross_tang)

Degree in Physics and Mathematics, Master in Physics
香港

  • Mathematica
  • 72
  • Software package (programming)
  • 0
  • MathOO
  • 0