Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 19th, 2004, 02:41 PM
Registered User
 
Join Date: Feb 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default hadamard matrix

Hi

What would the best method be to create a Hadamard matrix in C++?

I'd like to store the matrix in a 2 dimensional array with dimensions 16 x 2048.

Is this correct so far..?


int f, N, had[16][2048];
                 for (f=0; f<16; f++);
                       for (N=0; N<2048; N++);
                             had[f][N] =


So i'm now looking to fill the array with the hadamard values. Is it possible to stretch the values in the area to allow for the size of N. Any help would be much appreciated.

det






Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum of sub-matrix of a matrix Gromlok Java Basics 0 March 4th, 2007 03:45 PM
Matrix operators Ravel99 Pro VB 6 0 April 28th, 2006 03:45 AM
matrix report rhbandagi Classic ASP Databases 0 March 24th, 2006 04:06 AM
problems in matrix (in c /c++) sangi C++ Programming 0 January 13th, 2005 12:17 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.