Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #27583 > unrolled thread
| Started by | Nikhil Joshi <nitin.nitinperderusted.rastogi@gmail.com> |
|---|---|
| First post | 2012-10-23 08:54 -0700 |
| Last post | 2012-11-01 18:13 +0000 |
| Articles | 20 on this page of 37 — 14 participants |
Back to article view | Back to comp.lang.c
A C program Nikhil Joshi <nitin.nitinperderusted.rastogi@gmail.com> - 2012-10-23 08:54 -0700
Re: A C program James Kuyper <jameskuyper@verizon.net> - 2012-10-23 12:05 -0400
Re: A C program Rich Webb <bbew.ar@mapson.nozirev.ten> - 2012-10-23 13:07 -0400
Re: A C program BruceS <bruces42@hotmail.com> - 2012-10-29 21:58 +0000
Re: A C program Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2012-10-23 10:46 -0600
Re: A C program Keith Thompson <kst-u@mib.org> - 2012-10-23 13:28 -0700
Re: A C program tom st denis <tom@iahu.ca> - 2012-10-30 06:28 -0700
Re: A C program Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-10-30 15:42 +0000
Re: A C program tom st denis <tom@iahu.ca> - 2012-10-30 08:44 -0700
Re: A C program Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-10-30 17:28 +0000
Re: A C program tom st denis <tom@iahu.ca> - 2012-10-30 10:32 -0700
Re: A C program Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-10-30 18:21 +0000
Re: A C program "Bill Cunningham" <nospam@nspam.invalid> - 2012-11-04 16:57 -0500
Re: A C program "BartC" <bc@freeuk.com> - 2012-10-30 16:12 +0000
Re: A C program tom st denis <tom@iahu.ca> - 2012-10-30 09:38 -0700
Re: A C program James Kuyper <jameskuyper@verizon.net> - 2012-10-30 12:57 -0400
Re: A C program tom st denis <tom@iahu.ca> - 2012-10-30 10:26 -0700
Re: A C program James Kuyper <jameskuyper@verizon.net> - 2012-10-30 14:30 -0400
Re: A C program tom st denis <tom@iahu.ca> - 2012-10-30 14:47 -0700
Re: A C program James Kuyper <jameskuyper@verizon.net> - 2012-10-30 18:29 -0400
Re: A C program "Bill Cunningham" <nospam@nspam.invalid> - 2012-11-04 16:35 -0500
Re: A C program Keith Thompson <kst-u@mib.org> - 2012-11-04 14:25 -0800
Re: A C program "BartC" <bc@freeuk.com> - 2012-11-04 23:53 +0000
Re: A C program Keith Thompson <kst-u@mib.org> - 2012-11-04 16:09 -0800
Re: A C program Rui Maciel <rui.maciel@gmail.com> - 2012-11-01 18:17 +0000
Re: A C program Eric Sosman <esosman@comcast-dot-net.invalid> - 2012-10-30 13:02 -0400
Re: A C program Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2012-10-30 11:15 -0600
Re: A C program tom st denis <tom@iahu.ca> - 2012-10-30 10:28 -0700
Re: A C program Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-10-30 17:42 +0000
Re: A C program tom st denis <tom@iahu.ca> - 2012-10-30 10:49 -0700
Re: A C program Greg Martin <greg@softsprocket.com> - 2012-10-30 11:11 -0700
Re: A C program Rui Maciel <rui.maciel@gmail.com> - 2012-11-01 18:11 +0000
Re: A C program "Bill Cunningham" <nospam@nspam.invalid> - 2012-11-04 16:38 -0500
Re: A C program Malcolm McLean <malcolm.mclean5@btinternet.com> - 2012-11-05 07:45 -0800
Re: A C program James Kuyper <jameskuyper@verizon.net> - 2012-11-05 13:28 -0500
Re: A C program Rui Maciel <rui.maciel@gmail.com> - 2012-11-01 18:03 +0000
Re: A C program Rui Maciel <rui.maciel@gmail.com> - 2012-11-01 18:13 +0000
Page 1 of 2 [1] 2 Next page →
| From | Nikhil Joshi <nitin.nitinperderusted.rastogi@gmail.com> |
|---|---|
| Date | 2012-10-23 08:54 -0700 |
| Subject | A C program |
| Message-ID | <d10648b1-3caa-4d2d-bdd9-35ed0294c804@googlegroups.com> |
write a program to calculate decimal number from binary number?
[toc] | [next] | [standalone]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Date | 2012-10-23 12:05 -0400 |
| Message-ID | <5086C058.8080805@verizon.net> |
| In reply to | #27583 |
On 10/23/2012 11:54 AM, Nikhil Joshi wrote: > write a program to calculate decimal number from binary number? Done. Next?
[toc] | [prev] | [next] | [standalone]
| From | Rich Webb <bbew.ar@mapson.nozirev.ten> |
|---|---|
| Date | 2012-10-23 13:07 -0400 |
| Message-ID | <kljd885c5t5qschrvpd4q0lrfuoier1qtv@4ax.com> |
| In reply to | #27586 |
On Tue, 23 Oct 2012 12:05:44 -0400, James Kuyper <jameskuyper@verizon.net> wrote: >On 10/23/2012 11:54 AM, Nikhil Joshi wrote: >> write a program to calculate decimal number from binary number? > >Done. Next? Whee! +1 -- Rich Webb Norfolk, VA
[toc] | [prev] | [next] | [standalone]
| From | BruceS <bruces42@hotmail.com> |
|---|---|
| Date | 2012-10-29 21:58 +0000 |
| Message-ID | <k6mu5s$c0n$1@dont-email.me> |
| In reply to | #27586 |
On Tue, 23 Oct 2012 12:05:44 -0400, James Kuyper wrote: > On 10/23/2012 11:54 AM, Nikhil Joshi wrote: >> write a program to calculate decimal number from binary number? > > Done. Next? Your posts are among the first I look for. Often this provides information, but this time it gave me a good laugh. Thanks.
[toc] | [prev] | [next] | [standalone]
| From | Joe Pfeiffer <pfeiffer@cs.nmsu.edu> |
|---|---|
| Date | 2012-10-23 10:46 -0600 |
| Message-ID | <1bzk3dxhju.fsf@new-snowball.wb.pfeifferfamily.net> |
| In reply to | #27583 |
Nikhil Joshi <nitin.nitinperderusted.rastogi@gmail.com> writes: > write a program to calculate decimal number from binary number? We can better help if you'll show us what you've already come up with in your attempts to write it.
[toc] | [prev] | [next] | [standalone]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Date | 2012-10-23 13:28 -0700 |
| Message-ID | <ln4nllvsq5.fsf@nuthaus.mib.org> |
| In reply to | #27583 |
Nikhil Joshi <nitin.nitinperderusted.rastogi@gmail.com> writes:
> write a program to calculate decimal number from binary number?
We're happy to answer questions about the C language here. Show us
a program, and we can probably help you figure out what's wrong
with it. We won't do your homework for you.
But if you really want us to, please give us your instructor's e-mail
address, so we can submit our solutions directly. If we do the work,
we should get the credit, don't you think?
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Will write code for food.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
[toc] | [prev] | [next] | [standalone]
| From | tom st denis <tom@iahu.ca> |
|---|---|
| Date | 2012-10-30 06:28 -0700 |
| Message-ID | <8b079e76-7530-46bd-ad32-e03deb4310fe@h15g2000yqe.googlegroups.com> |
| In reply to | #27583 |
On Oct 23, 11:54 am, Nikhil Joshi <nitin.nitinperderusted.rast...@gmail.com> wrote: > write a program to calculate decimal number from binary number? I'mma gonna go beyond what the other people wrote and just say this. Drop out of whatever program you are in now. If this sort of program stumps you you have no business studying computer science nor software development. This is the equivalent of a math major asking us to help them solve the matrix [ 2 1 ] [ 1 1 ] It's the sort of thing that if you have to ask you really shouldn't be in the business. So please, do yourself and anyone you'd potentially end up working with a favour and either STUDY FUCKING HARDER or DROP THE FUCK OUT. Sincerely, Tom
[toc] | [prev] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2012-10-30 15:42 +0000 |
| Message-ID | <0.22cf54fcbb2af377bd06.20121030154248GMT.87r4og2cg7.fsf@bsb.me.uk> |
| In reply to | #27810 |
tom st denis <tom@iahu.ca> writes: > On Oct 23, 11:54 am, Nikhil Joshi > <nitin.nitinperderusted.rast...@gmail.com> wrote: >> write a program to calculate decimal number from binary number? > > I'mma gonna go beyond what the other people wrote and just say this. > > Drop out of whatever program you are in now. If this sort of program > stumps you you have no business studying computer science nor software > development. This is the equivalent of a math major asking us to help > them solve the matrix I may have missed some of this thread, but how do you know the OP is a CS major? I was quite good at academic CS, but there was a time when I did not know how to do this. <snip> -- Ben.
[toc] | [prev] | [next] | [standalone]
| From | tom st denis <tom@iahu.ca> |
|---|---|
| Date | 2012-10-30 08:44 -0700 |
| Message-ID | <a157d63f-6384-458e-b1a6-01055f112b96@q4g2000vbg.googlegroups.com> |
| In reply to | #27818 |
On Oct 30, 11:42 am, Ben Bacarisse <ben.use...@bsb.me.uk> wrote: > tom st denis <t...@iahu.ca> writes: > > > On Oct 23, 11:54 am, Nikhil Joshi > > <nitin.nitinperderusted.rast...@gmail.com> wrote: > >> write a program to calculate decimal number from binary number? > > > I'mma gonna go beyond what the other people wrote and just say this. > > > Drop out of whatever program you are in now. If this sort of program > > stumps you you have no business studying computer science nor software > > development. This is the equivalent of a math major asking us to help > > them solve the matrix > > I may have missed some of this thread, but how do you know the OP is a > CS major? I was quite good at academic CS, but there was a time when I > did not know how to do this. This is clearly a homework question of some sort given the lack of details other than a fairly obvious problem statement that came from a lab somewhere. Tom
[toc] | [prev] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2012-10-30 17:28 +0000 |
| Message-ID | <0.c3b18536fa949d127f9a.20121030172802GMT.87lien3m59.fsf@bsb.me.uk> |
| In reply to | #27820 |
tom st denis <tom@iahu.ca> writes: > On Oct 30, 11:42 am, Ben Bacarisse <ben.use...@bsb.me.uk> wrote: >> tom st denis <t...@iahu.ca> writes: >> >> > On Oct 23, 11:54 am, Nikhil Joshi >> > <nitin.nitinperderusted.rast...@gmail.com> wrote: >> >> write a program to calculate decimal number from binary number? >> >> > I'mma gonna go beyond what the other people wrote and just say this. >> >> > Drop out of whatever program you are in now. If this sort of program >> > stumps you you have no business studying computer science nor software >> > development. This is the equivalent of a math major asking us to help >> > them solve the matrix >> >> I may have missed some of this thread, but how do you know the OP is a >> CS major? I was quite good at academic CS, but there was a time when I >> did not know how to do this. > > This is clearly a homework question of some sort given the lack of > details other than a fairly obvious problem statement that came from a > lab somewhere. Yes it is. I don't see how that relates to my message. -- Ben.
[toc] | [prev] | [next] | [standalone]
| From | tom st denis <tom@iahu.ca> |
|---|---|
| Date | 2012-10-30 10:32 -0700 |
| Message-ID | <3629973b-108d-422a-9383-c101437abcae@x21g2000vbg.googlegroups.com> |
| In reply to | #27828 |
On Oct 30, 1:28 pm, Ben Bacarisse <ben.use...@bsb.me.uk> wrote: > tom st denis <t...@iahu.ca> writes: > > > > > > > > > > > On Oct 30, 11:42 am, Ben Bacarisse <ben.use...@bsb.me.uk> wrote: > >> tom st denis <t...@iahu.ca> writes: > > >> > On Oct 23, 11:54 am, Nikhil Joshi > >> > <nitin.nitinperderusted.rast...@gmail.com> wrote: > >> >> write a program to calculate decimal number from binary number? > > >> > I'mma gonna go beyond what the other people wrote and just say this. > > >> > Drop out of whatever program you are in now. If this sort of program > >> > stumps you you have no business studying computer science nor software > >> > development. This is the equivalent of a math major asking us to help > >> > them solve the matrix > > >> I may have missed some of this thread, but how do you know the OP is a > >> CS major? I was quite good at academic CS, but there was a time when I > >> did not know how to do this. > > > This is clearly a homework question of some sort given the lack of > > details other than a fairly obvious problem statement that came from a > > lab somewhere. > > Yes it is. I don't see how that relates to my message. Even if the problem were challenging [which I maintain it is not] the very lack of effort on their part should be a sufficient strike against their character. Tom
[toc] | [prev] | [next] | [standalone]
| From | Ben Bacarisse <ben.usenet@bsb.me.uk> |
|---|---|
| Date | 2012-10-30 18:21 +0000 |
| Message-ID | <0.257aaf7b7ac0aebd4cf1.20121030182147GMT.87wqy72538.fsf@bsb.me.uk> |
| In reply to | #27830 |
tom st denis <tom@iahu.ca> writes: > On Oct 30, 1:28 pm, Ben Bacarisse <ben.use...@bsb.me.uk> wrote: >> tom st denis <t...@iahu.ca> writes: >> > On Oct 30, 11:42 am, Ben Bacarisse <ben.use...@bsb.me.uk> wrote: >> >> tom st denis <t...@iahu.ca> writes: >> >> >> > On Oct 23, 11:54 am, Nikhil Joshi >> >> > <nitin.nitinperderusted.rast...@gmail.com> wrote: >> >> >> write a program to calculate decimal number from binary number? >> >> >> > I'mma gonna go beyond what the other people wrote and just say this. >> >> >> > Drop out of whatever program you are in now. If this sort of program >> >> > stumps you you have no business studying computer science nor software >> >> > development. This is the equivalent of a math major asking us to help >> >> > them solve the matrix >> >> >> I may have missed some of this thread, but how do you know the OP is a >> >> CS major? I was quite good at academic CS, but there was a time when I >> >> did not know how to do this. >> >> > This is clearly a homework question of some sort given the lack of >> > details other than a fairly obvious problem statement that came from a >> > lab somewhere. >> >> Yes it is. I don't see how that relates to my message. > > Even if the problem were challenging [which I maintain it is not] the > very lack of effort on their part should be a sufficient strike > against their character. Not relevant to my point. You did read my message? I was just asking how you know they are studying at a level where asking this means they should drop out now. They may be 8 and only just less talented than your were at 8. They may be 53 and studying programing after decades of being a simultaneous translator at the UN. They may know a method but be at a loss how to start doing it in C. There are countless mitigating circumstances that would mean that it's inappropriate to swear at them and tell them to drop out now. Anyway, I was only asking what else you maybe knew that might justify your extreme position. -- Ben.
[toc] | [prev] | [next] | [standalone]
| From | "Bill Cunningham" <nospam@nspam.invalid> |
|---|---|
| Date | 2012-11-04 16:57 -0500 |
| Message-ID | <k76obh$1u1$1@dont-email.me> |
| In reply to | #27839 |
Ben Bacarisse wrote:
> Not relevant to my point. You did read my message? I was just asking
> how you know they are studying at a level where asking this means they
> should drop out now. They may be 8 and only just less talented than
> your were at 8. They may be 53 and studying programing after decades
> of being a simultaneous translator at the UN. They may know a method
> but be at a loss how to start doing it in C. There are countless
> mitigating circumstances that would mean that it's inappropriate to
> swear at them and tell them to drop out now.
>
> Anyway, I was only asking what else you maybe knew that might justify
> your extreme position.
Don't feed the trolls
[toc] | [prev] | [next] | [standalone]
| From | "BartC" <bc@freeuk.com> |
|---|---|
| Date | 2012-10-30 16:12 +0000 |
| Message-ID | <t0Tjs.55761$A%.20376@fx26.am4> |
| In reply to | #27810 |
"tom st denis" <tom@iahu.ca> wrote in message news:8b079e76-7530-46bd-ad32-e03deb4310fe@h15g2000yqe.googlegroups.com... > This is the equivalent of a math major asking us to help > them solve the matrix > > [ 2 1 ] > [ 1 1 ] What's the answer? -- Bartc
[toc] | [prev] | [next] | [standalone]
| From | tom st denis <tom@iahu.ca> |
|---|---|
| Date | 2012-10-30 09:38 -0700 |
| Message-ID | <81d8f4ee-9884-406e-96ef-d0c9a6110030@r10g2000vby.googlegroups.com> |
| In reply to | #27822 |
On Oct 30, 12:13 pm, "BartC" <b...@freeuk.com> wrote: > "tom st denis" <t...@iahu.ca> wrote in messagenews:8b079e76-7530-46bd-ad32-e03deb4310fe@h15g2000yqe.googlegroups.com... > > > This is the equivalent of a math major asking us to help > > them solve the matrix > > > [ 2 1 ] > > [ 1 1 ] > > What's the answer? R1-R2 and then R2-R1. So suppose you had the linear system [2 1][3] [1 1][2] Then you'd have [1 0][1] [1 1][2] And [1 0][1] [0 1][1] So x = 1 and y = 1 in this linear system. MAGIC!
[toc] | [prev] | [next] | [standalone]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Date | 2012-10-30 12:57 -0400 |
| Message-ID | <k6p0td$rbl$1@dont-email.me> |
| In reply to | #27823 |
On 10/30/2012 12:38 PM, tom st denis wrote: > On Oct 30, 12:13�pm, "BartC" <b...@freeuk.com> wrote: >> "tom st denis" <t...@iahu.ca> wrote in messagenews:8b079e76-7530-46bd-ad32-e03deb4310fe@h15g2000yqe.googlegroups.com... >> >>> This is the equivalent of a math major asking us to help >>> them solve the matrix >> >>> [ 2 1 ] >>> [ 1 1 ] >> >> What's the answer? > > R1-R2 and then R2-R1. You haven't defined what R1 and R2 refer to, nor what those expressions mean. > So suppose you had the linear system > > [2 1][3] > [1 1][2] > > Then you'd have > > [1 0][1] > [1 1][2] > > And > > [1 0][1] > [0 1][1] > > So x = 1 and y = 1 in this linear system. Nor have you defined what x and y refer to. Your original statement of the problem lacked sufficient detail to make "solve" an applicable verb. There was sufficient information to use "invert", instead. If you had added some variables, and asked to solve for the values of those variables, for example: "Solve | 2 1 | |x| = |a| | 1 1 | |y| |b| For x and y in terms of a and b" that would also have been a meaningful question, with the answer x=a-b, y=2b-a. -- James Kuyper
[toc] | [prev] | [next] | [standalone]
| From | tom st denis <tom@iahu.ca> |
|---|---|
| Date | 2012-10-30 10:26 -0700 |
| Message-ID | <e3ab241b-a6b4-49e9-8753-e7315a98f5af@k21g2000vbj.googlegroups.com> |
| In reply to | #27824 |
On Oct 30, 12:57 pm, James Kuyper <jameskuy...@verizon.net> wrote: > On 10/30/2012 12:38 PM, tom st denis wrote: > > > On Oct 30, 12:13 pm, "BartC" <b...@freeuk.com> wrote: > >> "tom st denis" <t...@iahu.ca> wrote in messagenews:8b079e76-7530-46bd-ad32-e03deb4310fe@h15g2000yqe.googlegroups.com... > > >>> This is the equivalent of a math major asking us to help > >>> them solve the matrix > > >>> [ 2 1 ] > >>> [ 1 1 ] > > >> What's the answer? > > > R1-R2 and then R2-R1. > > You haven't defined what R1 and R2 refer to, nor what those expressions > mean. Row 1 and Row 2 ... are you really this dense? > > So x = 1 and y = 1 in this linear system. > > Nor have you defined what x and y refer to. [2x 1y][3] [1x 1y][2] Whatever, you're missing the point. Usually if I say "produce a solution for this matrix" it means the program [or steps] required to reduce it to REF. Then when you plug in variables in your column matrix you need only run the program and voila your solution. For instance, this is used in Karatsuba and Toom-Cook multiplication. You end up with a constant matrix but variable column matrix to attach to it. So the way you solve the system NEVER changes and you can optimize it thusly. Tom
[toc] | [prev] | [next] | [standalone]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Date | 2012-10-30 14:30 -0400 |
| Message-ID | <k6p6co$5ci$1@dont-email.me> |
| In reply to | #27827 |
On 10/30/2012 01:26 PM, tom st denis wrote: > On Oct 30, 12:57�pm, James Kuyper <jameskuy...@verizon.net> wrote: >> On 10/30/2012 12:38 PM, tom st denis wrote: >> >>> On Oct 30, 12:13 pm, "BartC" <b...@freeuk.com> wrote: >>>> "tom st denis" <t...@iahu.ca> wrote in messagenews:8b079e76-7530-46bd-ad32-e03deb4310fe@h15g2000yqe.googlegroups.com... >> >>>>> This is the equivalent of a math major asking us to help >>>>> them solve the matrix >> >>>>> [ 2 1 ] >>>>> [ 1 1 ] >> >>>> What's the answer? >> >>> R1-R2 and then R2-R1. >> >> You haven't defined what R1 and R2 refer to, nor what those expressions >> mean. > > Row 1 and Row 2 ... are you really this dense? > >>> So x = 1 and y = 1 in this linear system. >> >> Nor have you defined what x and y refer to. > > [2x 1y][3] > [1x 1y][2] > > Whatever, you're missing the point. No - I understand precisely the point you were trying to make. I'm pointing out that you expressed it badly. > ... Usually if I say "produce a > solution for this matrix" it means the program [or steps] required to > reduce it to REF. Well, no, it doesn't - that's my point. It doesn't actually mean anything. A matrix doesn't have a solution. An equation containing a matrix might (or might not) have a solution. If you have A*x=b, and A is a scalar, such as 5, you can say "solve for x in terms of b, and that's meaningful (unless A==0). You can also say "solve A", but that's not meaningful. If A is a matrix, like the one you gave above, and x and b are column vectors, you can also solve for x in terms of b (unless det(A)==0), but it's meaningless to ask someone to say "solve A", for exactly the same reason that it's meaningless to ask them to "solve A" when A == 5. You can ask them to invert A; if A is 5, that's just 1/5. If A is a matrix, that's more complicated; but that's not the same as asking them to "solve A". -- James Kuyper
[toc] | [prev] | [next] | [standalone]
| From | tom st denis <tom@iahu.ca> |
|---|---|
| Date | 2012-10-30 14:47 -0700 |
| Message-ID | <2568aba1-80c8-45b2-8520-ed9b9ad9aa00@h15g2000yqe.googlegroups.com> |
| In reply to | #27840 |
On Oct 30, 2:30 pm, James Kuyper <jameskuy...@verizon.net> wrote: > On 10/30/2012 01:26 PM, tom st denis wrote: > > > > > > > > > > > On Oct 30, 12:57 pm, James Kuyper <jameskuy...@verizon.net> wrote: > >> On 10/30/2012 12:38 PM, tom st denis wrote: > > >>> On Oct 30, 12:13 pm, "BartC" <b...@freeuk.com> wrote: > >>>> "tom st denis" <t...@iahu.ca> wrote in messagenews:8b079e76-7530-46bd-ad32-e03deb4310fe@h15g2000yqe.googlegroups.com... > > >>>>> This is the equivalent of a math major asking us to help > >>>>> them solve the matrix > > >>>>> [ 2 1 ] > >>>>> [ 1 1 ] > > >>>> What's the answer? > > >>> R1-R2 and then R2-R1. > > >> You haven't defined what R1 and R2 refer to, nor what those expressions > >> mean. > > > Row 1 and Row 2 ... are you really this dense? > > >>> So x = 1 and y = 1 in this linear system. > > >> Nor have you defined what x and y refer to. > > > [2x 1y][3] > > [1x 1y][2] > > > Whatever, you're missing the point. > > No - I understand precisely the point you were trying to make. I'm > pointing out that you expressed it badly. > > > ... Usually if I say "produce a > > solution for this matrix" it means the program [or steps] required to > > reduce it to REF. > > Well, no, it doesn't - that's my point. It doesn't actually mean > anything. A matrix doesn't have a solution. > > An equation containing a matrix might (or might not) have a solution. If > you have A*x=b, and A is a scalar, such as 5, you can say "solve for x > in terms of b, and that's meaningful (unless A==0). You can also say > "solve A", but that's not meaningful. If A is a matrix, like the one you > gave above, and x and b are column vectors, you can also solve for x in > terms of b (unless det(A)==0), but it's meaningless to ask someone to > say "solve A", for exactly the same reason that it's meaningless to ask > them to "solve A" when A == 5. > You can ask them to invert A; if A is 5, that's just 1/5. If A is a > matrix, that's more complicated; but that's not the same as asking them > to "solve A". If you're going to ignore what I write why did you reply? I gave a perfectly good example of using that terminology [static matrices] which you ignored to drone on about some off-topic math related quibble. Tom
[toc] | [prev] | [next] | [standalone]
| From | James Kuyper <jameskuyper@verizon.net> |
|---|---|
| Date | 2012-10-30 18:29 -0400 |
| Message-ID | <k6pkca$70f$1@dont-email.me> |
| In reply to | #27849 |
On 10/30/2012 05:47 PM, tom st denis wrote: > If you're going to ignore what I write why did you reply? I only ignored the parts that were irrelevant to the point of my reply, such as the details of how to solve the equations that you didn't actually specify should be solved. My comments were not about the techniques for solving such equations, which I'm quite familiar with, but with your failure to correctly describe an equation in need of solution. I'm in rough agreement with your assessment of the inappropriateness of the original question - I just wish you'd taken the trouble to state your example in a way that actually made sense. However, I do think you've overreacted. It's possible that he's too lazy to make any attempt to solve it himself, but it's also possible that he has no clue how to even get started on it. That could be because he's not competent to pursue a career in computer programming; but it could also be that he just hasn't had a couple of key insights yet, that will seem blindingly obvious in retrospect when he reaches the same point in his career that you've reached in yours. They might even seem so obvious that he might not even remember not understanding them, just as you don't remember being unable to understand them. You don't have enough information to justify ruling out that possibility. I used to tutor for a living, and I found that students each have their own strengths and weaknesses; you can't just say "this is simpler than that, so anyone who has trouble understanding this could never understand that". It's just not that simple. For example, in your case, solving linear equations is simple, but apparently you've not yet mastered even the very basics of stating a problem that requires the use of those skill to solve. That requires skill with English at least as much as it does with mathematics. > I gave a perfectly good example of using that terminology [static > matrices]. More accurately, you gave an imperfect example of misusing that terminology. -- James Kuyper
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.c
csiph-web