Click here to Skip to main content
15,887,746 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: SSE and multi-core processors Pin
epitalon9-Apr-09 5:16
epitalon9-Apr-09 5:16 
GeneralRe: SSE and multi-core processors Pin
led mike17-Apr-09 6:52
led mike17-Apr-09 6:52 
GeneralRe: SSE and multi-core processors Pin
epitalon23-Apr-09 22:19
epitalon23-Apr-09 22:19 
GeneralRe: SSE and multi-core processors Pin
led mike24-Apr-09 4:49
led mike24-Apr-09 4:49 
Questionrow major and column major order Pin
Sadaiyappan8-Apr-09 10:49
Sadaiyappan8-Apr-09 10:49 
AnswerRe: row major and column major order Pin
Luc Pattyn8-Apr-09 11:19
sitebuilderLuc Pattyn8-Apr-09 11:19 
GeneralRe: row major and column major order Pin
Sadaiyappan8-Apr-09 11:51
Sadaiyappan8-Apr-09 11:51 
GeneralRe: row major and column major order Pin
Luc Pattyn8-Apr-09 12:34
sitebuilderLuc Pattyn8-Apr-09 12:34 
OK, for an array with dimensions (d0, d1, ... d8, d9) the offset of element (e0, e1, ... e8, e9) is either
e9 + d9*( e8 + d8*( .... + d2*( e1 + d1 * e0)...)) which does not use d0
or
e0 + d0*( e1 + d1*( .... + d7*( e8 + d8 * e9)...)) which does not use d9
depending on the scheme you want to use

AFAIK that corresponds to the formulae in Wikipedia.

Warning for VB users: the dimensions indicate the number of elements in a rank, not the maximum index

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

- before you ask a question here, search CodeProject, then Google
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get
- use the code block button (PRE tags) to preserve formatting when showing multi-line code snippets


QuestionBest coding practice. Pin
Member 41945936-Apr-09 18:08
Member 41945936-Apr-09 18:08 
AnswerRe: Best coding practice. [modified] Pin
Luc Pattyn7-Apr-09 4:27
sitebuilderLuc Pattyn7-Apr-09 4:27 
GeneralRe: Best coding practice. Pin
Member 41945937-Apr-09 14:40
Member 41945937-Apr-09 14:40 
GeneralRe: Best coding practice. Pin
Luc Pattyn7-Apr-09 15:21
sitebuilderLuc Pattyn7-Apr-09 15:21 
GeneralRe: Best coding practice. Pin
Member 41945937-Apr-09 16:23
Member 41945937-Apr-09 16:23 
GeneralRe: Best coding practice. Pin
Member 419459310-Apr-09 19:55
Member 419459310-Apr-09 19:55 
GeneralRe: Best coding practice. Pin
Luc 64801111-Apr-09 0:39
Luc 64801111-Apr-09 0:39 
GeneralRe: Best coding practice. Pin
Member 419459311-Apr-09 5:51
Member 419459311-Apr-09 5:51 
GeneralRe: Best coding practice. Pin
Luc 64801111-Apr-09 6:18
Luc 64801111-Apr-09 6:18 
GeneralRe: Best coding practice. Pin
Member 419459315-Apr-09 8:29
Member 419459315-Apr-09 8:29 
GeneralRe: Best coding practice. Pin
Luc 64801115-Apr-09 8:39
Luc 64801115-Apr-09 8:39 
GeneralRe: Best coding practice. Pin
Member 419459315-Apr-09 9:45
Member 419459315-Apr-09 9:45 
QuestionRotation of Bitmap Pin
CodeOfLife5-Apr-09 16:21
CodeOfLife5-Apr-09 16:21 
AnswerRe: Rotation of Bitmap [modified] Pin
Luc Pattyn5-Apr-09 16:30
sitebuilderLuc Pattyn5-Apr-09 16:30 
GeneralRe: Rotation of Bitmap Pin
CodeOfLife6-Apr-09 6:37
CodeOfLife6-Apr-09 6:37 
GeneralRe: Rotation of Bitmap Pin
Luc Pattyn6-Apr-09 6:59
sitebuilderLuc Pattyn6-Apr-09 6:59 
QuestionCreating RSOM from SOM Pin
Jasmine Pomelo4-Apr-09 14:04
Jasmine Pomelo4-Apr-09 14:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.