Read more
Informationen zum Autor Michael Kupferschmid Klappentext Starting from the assumption that the reader has no background in programming! this text uses case studies and examples to introduce the FORTRAN language elements and design skills needed to write code for typical numerical applications. Zusammenfassung Teaches how to write programs in the Classical dialect of Fortran, the most widely recognized language for numerical computing. This book focuses on floating-point calculations. It uses case studies and examples to introduce the language elements and design skills needed to write efficient programs for real engineering and scientific applications. Inhaltsverzeichnis IntroductionWhy Study Programming?The Evolution of FORTRANWhy Study FORTRAN?Classical FORTRANAbout This BookAdvice to InstructorsAbout the AuthorAcknowledgmentsDisclaimersHello! World!Case Study: A First FORTRAN ProgramCompiling the ProgramRunning a Program in UNIXOmissionsExpressions and Assignment StatementsConstantsVariables and Variable NamesArithmetic OperatorsFunction ReferencesExpressionsAssignment StatementsREAD and PRINTOmissionsConditionals and BranchingFlowchartingThe GO TO StatementThe IF-THEN ConstructThe Logical IF StatementFlowcharting ReconsideredAdditional ExamplesOmissionsScalar Data TypesIntegersRealsRoundoff ErrorsType ConversionsCase Study: Computing the SineOther Data TypesSome Special ValuesArchitectural VariationsOmissionsArrays and DO LoopsVectorsThe DO LoopMatricesThe Rules of DO LoopsArray DimensioningCase Study: Matrix MultiplicationOmissionsSubprogramsSUBROUTINE SubprogramsCall by ReferenceFUNCTION SubprogramsCase Study: BisectionDetecting First EntryFORTRAN! System! and Library RoutinesConclusion and OmissionsAdjustable Dimensions and EXTERNALAdjustable DimensionsEXTERNALSummary and OmissionsCOMMONPassing Data ThroughPassing Data AroundAlignmentFormal Parameters and COMMONArrays in COMMONBLOCK DATAOmissionsInput and OutputREAD and WRITECase Study: Descriptive StatisticsImplied DO LoopsUnit AssignmentsDescriptive Statistics RevisitedPositioning in FilesCase Study: Merging FilesUnformatted I/OCautions and OmissionsCharacter VariablesHow Characters Are StoredWriting Out and Reading In Character VariablesEditing Character StringsObject-Time FORMATsCase Study: QUERYCHARACTER Variables in Other ContextsCharacter GraphicsOmissionsMemory Management TechniquesPassing Array ColumnsPartitioning WorkspaceSharing WorkspaceSharing Constant DataStoring a Symmetric MatrixSparse Matrix TechniquesLinked ListsOmissions and CaveatsDesign! Documentation! and Coding StyleThe Craft of ProgrammingDesignDocumentationCoding StyleHand-CheckingTesting! Revision! and MaintenanceConclusion and OmissionsArchaic! Unusual! and Dangerous UsagesSource FormExpressions and Assignment StatementsConditionals and Transfer of ControlScalar Data TypesArrays and DO LoopsSubprogramsAdjustable Dimensions and EXTERNALCOMMONInput and OutputCharacter VariablesCase Study: A Legacy CodeConclusion and OmissionsUNIX IssuesUsing the CompilerOperating System ServicesDebugging and dbxAutomatic Compilation with makeLibrariesWriting Custom Manual PagesOmissionsMeasuring and Maximizing Serial Execution SpeedMeasuring Serial Execution SpeedTuning FORTRAN Source CodeOmissionsVector and Parallel ProcessingVector ProcessingParallel ProcessingOmissionsModern Fortran and HPFFortran-90High Performance FortranThe Future of FORTRANSome Utility RoutinesNumber-Numeral ConversionsString InsertionsAttaching a FileArithmetic with Two-Part ValuesMeasuring CPU TimeA Shell Script for Global EditsCaveats and OmissionsBibliographyIndexExercises appear at the end of each chapter. ...