PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
March 1, 1978ACM Transactions on Mathematical Software35 citationsOpen Access

A Portable Fortran Program to Find the Euclidean Norm of a Vector

View Full Paper
JBJames L. BlueNational Institute of Standards and Technology

Key Points

  • To present a portable Fortran subprogram capable of computing the Euclidean norm of an n-dimensional vector without encountering floating-point overflow or underflow.
  • Designed an algorithm in portable Fortran to evaluate the Euclidean norm of an n-vector.
  • Applied intermediate scaling arithmetic to protect calculations against numerical overflow and underflow.
  • Successfully developed a machine-independent Fortran program that calculates vector Euclidean norms.
  • Prevented calculation failures caused by out-of-range intermediate values during vector magnitude computation.

Abstract

A successful portable version of a Fortran subprogram to find the Euclidean norm of an n-vector, I] x II = (~-~.~-1 x,2) 11~, is described. Overflow and underflow are avoided. A program implementing the algorithm is included.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

James L. Blue (1978) studied this question.

synapsesocial.com/papers/6a1709da2fcf950e00059504https://doi.org/10.1145/355769.355771
Ask AI
Helpful
Bookmark
Share
View Full Paper