Object Oriented Design

Get Object-Oriented Programming via Fortran 90/95 PDF

By Ed Akin

ISBN-10: 0511530110

ISBN-13: 9780511530111

ISBN-10: 0521524083

ISBN-13: 9780521524087

ISBN-10: 1005215243

ISBN-13: 9781005215248

This ebook is kind of great for the spoiled programmer who has been utilizing a contemporary OO language comparable to C++ or python, and demonstrates how you can enforce OO ideas as sessions, overloading and polymorphism in Fortran 90/95 (F9X within the rest of this evaluate)

This although can be its major weak spot: although F9X will be compelled into those recommendations, utilizing these thoughts, particularly the proposed polymorphism technique, is a tedious activity, and makes most of the magic of OO programming disappear.

What is missing during this publication is an specific review of suggestions which can't be applied simply in F9X, akin to destructors, interfaces and inheritance, as that would be cause sufficient to ignore attempting to enforce your application in F9X.

My major end after analyzing this can be that attempting to do OO in F9X is incomplete and approach an excessive amount of difficulty, and hence the necessity for this e-book is quite restricted.

Show description

Read or Download Object-Oriented Programming via Fortran 90/95 PDF

Best object-oriented design books

Practical Liferay Java Based Portal Applications Development by Poornachandra Sarang PDF

Who This publication Is For? you're most likely studying this booklet since you have an interest in growing your individual portalbased on Liferay, or since you are looking to hold or increase your current Liferay portal. both manner, this ebook meets your requisites by means of protecting Liferay and its numerous applicationsin intensity.

Download e-book for iPad: Advances in Computers, Vol. 33 by Marshall C. Yovits

This quantity in a sequence detailing recommendations in undefined, software program and the theory/design/applications of pcs, is worried with reusable software program parts, object-oriented modelling, discrete occasion simulation, and neurocomputing formalisms in computer studying and visualization.

New PDF release: Absolute C++, First edition

Absolute C++ , bargains whole insurance of the C++ programming language. It presents all of the instruments important for skilled and beginner programmers to grasp C++, together with: thorough assurance of the normal Template Library; whole and entirely executable code all through; sections highlighting programming information and customary pitfalls; and a logical order of insurance of C++ themes to ensure that scholars to raised comprehend the language.

Y. Daniel Liang's Intro to Java Programming, Comprehensive Version PDF

This article is meant for a 1-, 2-, or 3-semester CS1 direction series. finished insurance of Java and programming make this an invaluable reference for starting programmers and IT execs.   Daniel Liang teaches ideas of problem-solving and object-oriented programming utilizing a fundamentals-first method.

Extra info for Object-Oriented Programming via Fortran 90/95

Sample text

Computation of area for rectangles. function rectangle area ( r ) result ( area ) type ( Rectangle ), intent(in) :: r real :: area area = r%base * r%height ; end function rectangle area end module class Rectangle ! 1415926535897931d0 ! a circle constant type Circle real :: radius ; end type Circle contains ! Computation of area for circles. function circle area ( c ) result ( area ) type ( Circle ), intent(in) :: c real :: area area = pi * c%radius**2 ; end function circle area end module class Circle program geometry !

In his 1988 book on OO software construction B. Meyer [28] listed seven steps necessary to achieve object-orientedness in an implementation language. 5, and are all found to exist in F90 and F95. 5: Seven Steps to Object-Orientedness [28] 1. Object-based modular structure : r Systems are modularized on the basis of their data structure (in F90). 2. Data Abstraction : r Objects should be described as implementations of abstract data types (in F90). 3. Automatic memory management : r Unused objects should be deallocated by the language system (most in F90, in F95).

31, 32], and Rumbaugh et al. [36] and Szymanski et al. [37, 38]. Additional OOP applications will also be covered in later chapters. 8 Exercises 1 Checking trigonometric identities We know that the sine and cosine functions obey the trigonometric identity sin2 θ + cos2 θ = 1 no matter what value of θ is used. Write a pseudocode, or MATLAB, or F90 program that checks this identity. Let it consist of a loop that increments across N equally spaced angles between 0 and π and calculates the quantity in question, printing the angle and the result.

Download PDF sample

Object-Oriented Programming via Fortran 90/95 by Ed Akin

by David

Rated 4.20 of 5 – based on 22 votes