Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Talk:Array (data type)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This article is ratedC-class on Wikipedia'scontent assessment scale.
It is of interest to the followingWikiProjects:
WikiProject iconComputing:Software /CompSciMid‑importance
WikiProject iconThis article is within the scope ofWikiProject Computing, a collaborative effort to improve the coverage ofcomputers,computing, andinformation technology on Wikipedia. If you would like to participate, please visit the project page, where you can jointhe discussion and see a list of open tasks.ComputingWikipedia:WikiProject ComputingTemplate:WikiProject ComputingComputing
MidThis article has been rated asMid-importance on theproject's importance scale.
Taskforce icon
This article is supported byWikiProject Software (assessed asMid-importance).
Taskforce icon
This article is supported byWikiProject Computer science (assessed asMid-importance).
Things you can helpWikiProject Computer science with:

Requested move

[edit]
[[Talk:Array data

User:Cyberc|Cyber]] ([[User talk:Cyber 01:41, 16 May 2011 (UTC)User:Aervanath|Aervanath]] (talk)18:11, 25 May 2012 (UTC)[reply]

Removed illogical note about elevator buttons in France

[edit]

This note was (sorry)stupid for the following reason: in french there is no equivalent tofloor, instead the word used (and thought)étage means so-to-say "over-floor". Thus,étage 1 is englishfloor 2. Andfloor 1/ground floor logically isétage 0, that is in fact a non-étage; this also fits pretty well with underground levels numbered from -1 down. (I guess in english-speaking countries there probably is no 0 button, just like there is no year 0?)

denis ''spir'' (talk)17:31, 9 December 2012 (UTC)[reply]

@Denispir:: Well, I hear that in Britain, the first floor is a level above the ground floor... —SamB (talk)22:43, 4 July 2015 (UTC)[reply]

Dubious

[edit]

Regarding this bit:Thus, an array of numbers with 5 rows and 4 columns, hence 20 elements, is said to have dimension 2 in computing contexts, but represents a matrix with dimension 4-by-5 or 20 in mathematics. My informal impression is that it's common to speak of a matrix asm×n{\displaystyle m\times n}-dimensional, but much less so to call the productmn{\displaystyle mn} the dimension. Something like the latter only happens when one considers aset of matrices as a vector space; for example, the set of alln×n{\displaystyle n\times n} self-adjoint matrices forms an2{\displaystyle n^{2}}-dimensional vector space, in which the natural counterpart of the dot product is theHilbert–Schmidt inner product. But that notion of dimension depends upon which space the matrix is regarded as belonging to.XOR'easter (talk)14:55, 7 January 2023 (UTC)[reply]

I agree. The language here is subtle, and there is a real danger of editors coining their own idioms. It is correct, both technically and culturally, to say that the set of 4 x 5 matrices forms a 20-dimensional vector space. But it is incorrect, at least culturally, to say that a 4 x 5 matrix is 20-dimensional. A big reason is that 4 x 5 matrices and 2 x 10 matrices (for example) are really dissimilar, despite having the same overall "dimension".Mgnbar (talk)19:44, 7 January 2023 (UTC)[reply]

This article is beyond biased

[edit]

by presenting

for (i = 0; i < 5; i += 1)

as if it's a unique construct of zero-based indexing paradigms.

One could use those EXACT same parameters with one-based indexing,

withEVEN LESS verbosity, by doing

for (i = 0; i++ < 5; )

thus eliminating the need for the 3rd portion of thefor() loop construct. In either construct, the final value ofi would be 1 more than the highest index of the array. So it's beyond ridiculous to claim how zero-based indexing is any better, or how it "prevents one-off error". The risk of one-off errors are identical. It's two sides of the same coin.

Because if it were, all the math oriented software and platforms would have adopted it.

You know what ACTUALLY introduces plenty of one-off errors ? Having to substring or string slice at indices off by one from the human speech position of the letter(s) by having languages that tell people "the index position 2 letter of the word ONE isn't the 2nd letter", or suggesting people do lookup of July 24th by accessing

 calendar[6][23]

How intuitive of zero-based languages indeed.2603:7000:3C3D:4840:0:0:0:3C3 (talk)18:46, 8 August 2024 (UTC)[reply]

I have remove the text in question, because it was too detailed for this article (but still not detailed enough to convince the reader of its point). I do think that the criticism that thearticle (rather than a couple of sentences in a deep paragraph) wasbeyond biased (rather than merely biased, or mistaken, or incomplete, etc.) was overblown.Mgnbar (talk)01:39, 11 August 2024 (UTC)[reply]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Talk:Array_(data_type)&oldid=1239713670"
Categories:

[8]ページ先頭

©2009-2026 Movatter.jp