Post Reply 
problems with MAKEMAT
12-28-2016, 01:29 PM
Post: #3
RE: problems with MAKEMAT
I hope that google translator is correct

It is a fact that there are two versions of several commands, but in my first post I show that there are 3 versions, this complicates the coding, Do you agree?

Or at least this should be shown in HELP, if the development group does not incorporate user contributions, we are wasting time.

I hope that in a future version complete functions and commands on catalog help.

CAS MODE
makemat(0,1,10) -> [[0,0,0,0,0,0,0,0,0,0]] // Two Dimensional (i,j) // ok
makeMat(0,10) -> [0,0,0,0,0,0,0,0,0,0] // One-dimensional (i) // ok
makemat(0,10); -> [[]] // I think I should throw [0,0,0,0,0,0,0,0,0,0], To remove the third option command with M middle capital, at let's wait and see what the Mr Bernard says.

makemat(x->0,10) -> "Error: Bad Argument Value" -> [0,0,0,0,0,0,0,0,0,0]
makemat(x->0,1,10) -> [[0,0,0,0,0,0,0,0,0,0]] // ok

HOME MODE
MAKEMAT(0,1,10) -> [0,0,0,0,0,0,0,0,0,0] // ok
MAKEMAT(0,10) -> [0,0,0,0,0,0,0,0,0,0] // ok
CAS MODE
MAKEMAT(0,1,10) -> [[0,0,0,0,0,0,0,0,0,0]]
MAKEMAT(0,10) -> "Error: Bad Argument Type" -> [0,0,0,0,0,0,0,0,0,0]

Now with MAKELIST

HOME MODE
MAKELIST(X,X,5,10); ->{5,6,7,8,9,10} // ok
MAKELIST(0,X,1,10); -> {0,0,0,0,0,0,0,0,0,0} // ok
MAKELIST(0,X,10); -> "Error:" -> {0,0,0,0,0,0,0,0,0,0} // ok
CAS MODE
MAKELIST(0,X,1,10); -> {0,0,0,0,0,0,0,0,0,0} // ok
makelist(0,X,10); -> [0,0,0,0,0,0,0,0,0,0,0] // ok
makelist(0,X,1,10); -> [0] // ??? -> [[0,0,0,0,0,0,0,0,0,0]]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
problems with MAKEMAT - compsystems - 12-26-2016, 10:59 PM
RE: problems with MAKEMAT - Han - 12-28-2016, 02:41 AM
RE: problems with MAKEMAT - compsystems - 12-28-2016 01:29 PM
RE: problems with MAKEMAT - Han - 12-28-2016, 02:42 PM



User(s) browsing this thread: 1 Guest(s)