Posted by: nealc | July 7, 2011

function objects

trying to write some c++ code and reading code complete, excellent and comprehensive. the example adt’s are all concrete, and im doing numerical simulation, in a simulation i guess the highest level of abstraction is simulated paths, so that’s an adt. he also says to use adt’s for everything, maybe, but i think what i learnt from scripting languages is not to overdo it.

also oliviera says that an important object in numerics is the function object or functor, and gives the trapezoidal integration rule. interesting. in math, i think a function is an adt actually, and there’s a base adt and then other functions is-a function as adts.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: