The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
mat2list command
02-17-2014, 09:11 PM
Post: #1
mat2list command
I'm trying to convert a one-dimensional matrix (a vector) to a list.

The cataloque menu provides a function called "mat2list" which concatenates the rows of a matrix to just a single row. However, this is still a matrix object with square brackets, e.g. of type "4", which is not what I want (curly braces, type "6").
In contrast the oposite function "list2mat" works as expected.

Is there some other function for this purpose, or maybe some "type conversion"?

Thanks,
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
mat2list command - Thomas Ritschel - 02-17-2014 09:11 PM
RE: mat2list command - massimo - 02-18-2014, 12:37 AM
RE: mat2list command - parisse - 02-18-2014, 08:01 AM
RE: mat2list command - Thomas Ritschel - 02-18-2014, 06:57 PM
RE: mat2list command - parisse - 02-19-2014, 07:38 AM



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