• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Which data structures are used in scientific analysis ?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which data structures are used in scientific analysis ?
 
Author
Posts: 75
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Matrices, lists, vectors and tensors data structures are used in scientific analysis.
 
Bartender
Posts: 20842
125
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Bhagvan Kommadi wrote:Matrices, lists, vectors and tensors data structures are used in scientific analysis.



Note the common thread here. All of these are ultimately arrays - a vector (list) is a 1-dimensional array. A matrix is an array of 2 or more dimensions. A tensor is a matrix of formulas that can be used to create an equation. And, just to complete the roster, there's also the scalar, which is a 0-dimensional (single-element) array.

This is why the Fortran programming language, which was explicitly designed for scientific computing, never bothered to implement data structures the way that its business-oriented sibling COBOL did. Even decades later, Fortran was still lacking data structures despite long years of use in super-computers doing weather and climate predictions, nuclear physics, and other heavy-computation tasks.

Data structures are useful for ordered organization of heterogeneous data, but much of scientific computing deals with data that's all of the same type (homogeneous).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!