Re: maple programming
From: kelly hamer (dippie85_at_yahoo.co.uk)
Date: 12/10/04
- Next message: Joe Riel: "Re: Maple bugs: int + Heaviside"
- Previous message: fakeuser_at_invalid.domain: "Re: any one knows of university courses in computer algebra in the US or Canada?"
- Next in thread: John O'Flaherty: "Re: maple programming"
- Reply: John O'Flaherty: "Re: maple programming"
- Reply: Christopher Creutzig: "Re: maple programming"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 10 Dec 2004 13:03:34 +0000 (UTC)
> help some1 about arrays need to print a second array called c
>
restart:A:=array(1..4,1..4,[[10,12,10,2],[12,25,27,3],[8,23,17,4],[6,15,6,2]]);
> C:=array(1..4,1..4);
> for i do 1 to 4
> for j do 1 to 4
> if A[i,j] < 15 then
> A[i,j] = 15
> print C = A[i,j]
> end do;
>
>
[10 12 10 2]
[12 25 27 3]
A := [ 8 23 17 4]
[ 6 15 6 2]
i need to print out that every number in the array that is less than
15 will be printed out as 15 in a second array called C
- Next message: Joe Riel: "Re: Maple bugs: int + Heaviside"
- Previous message: fakeuser_at_invalid.domain: "Re: any one knows of university courses in computer algebra in the US or Canada?"
- Next in thread: John O'Flaherty: "Re: maple programming"
- Reply: John O'Flaherty: "Re: maple programming"
- Reply: Christopher Creutzig: "Re: maple programming"
- Messages sorted by: [ date ] [ thread ]