YasH

50 Reputation

6 Badges

12 years, 103 days

MaplePrimes Activity


These are replies submitted by YasH

@YasH PS.  The previous link contains a link to the following:

 

http://www.maplesoft.com/support/help/Maple/view.aspx?path=DocumentTools/Tabulate

@Preben Alsholm 

Also for “Eigenvalues()” , I tried as follows:

################################################

$ export MapleCommand2="with(LinearAlgebra): M:=<<-1,-3,-6>|<3,5,6>|<-3,-3,-4>>: seq( ifelse(Equal( <2,2,-4> , Eigenvalues(M) ),1,0) , k=1..5);"

$ for i in {1..3} ; do echo " $MapleCommand2" | maple -sq ; done;
0, 0, 0, 0, 0
0, 0, 0, 0, 0
0, 0, 0, 0, 0

$ for i in {1..3} ; do echo "randomize(1): $MapleCommand2" | maple -sq ; done;
0, 0, 0, 0, 0
0, 0, 0, 0, 0
0, 0, 0, 0, 0

$ for i in {1..3} ; do echo "randomize(2): $MapleCommand2" | maple -sq ; done;
0, 0, 0, 0, 0
0, 0, 0, 0, 0
0, 0, 0, 0, 0

@Carl Love 

Even(?) randomize() command cannot control the order. I tried as follows:

################################################

$ export MapleCommand="with(LinearAlgebra): M:=<<-1,-3,-6>|<3,5,6>|<-3,-3,-4>>: seq( ifelse(Equal( <2,2,-4> , op(1, [Eigenvectors(M)] )),1,0) , k=1..5);"

$ for i in {1..3} ; do echo "$MapleCommand" | maple -sq ; done;
1, 0, 0, 0, 1
1, 0, 0, 0, 0
0, 1, 1, 1, 1

$ for i in {1..3} ; do echo "randomize(1): $MapleCommand" | maple -sq ; done;
0, 1, 0, 0, 1
0, 1, 1, 1, 1
0, 1, 1, 0, 0

$ for i in {1..3} ; do echo "randomize(2): $MapleCommand" | maple -sq ; done;
1, 0, 0, 0, 1
0, 0, 1, 1, 1
0, 1, 1, 1, 0

$

@Carl Love 

I have a related(?) question.

What about the randomness of the following orders ?

> restart;

> with(LinearAlgebra):

> M:=<<-1,-3,-6>|<3,5,6>|<-3,-3,-4>>:

> for k from 1 to 4 do Transpose(op(1, [Eigenvectors(M)] )); end do;

[2, 2, -4]

[-4, 2, 2]

[2, 2, -4]

[2, 2, -4]

 

@smo4291990 Please follow @Carl Love 's instruction . 

 

@smo4291990 What will you add together if "an arbitrary number" is, for example, 16 ?

@smo4291990 Can we assume that you can write a procedure by other languages?

 

I think it is important for you to present  your own ideas to attack your problems.

 

What is NLP ?

 

What do you mean by "D[2](y)(L)"?

 

Do you mean “with(linalg):” by “with*linalg;” ? 


According to

http://www.maplesoft.com/support/help/Maple/view.aspx?path=linalg(deprecated)

“The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.”

 

@adel-00 What do you want to say about "round(rand())" ?

 

@adel-00 Please explain this in more detail.

@lano Please explain the relation between your question and Maple.

Is the following reference(especially "Go to Folder") useful for @William Simpson ?

https://support.apple.com/kb/PH22187?locale=en_US&viewlocale=en_US

1 2 3 4 5 Page 2 of 5