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).
"privilege" comes from the Latin words for "private" and "law" (legal) and dates to feudal times. To "claim privilege" meant that you were above the laws that applied to the common people.
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!