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 
Flatten a Matrix
10-09-2014, 03:04 AM
Post: #1
Flatten a Matrix
Hi Guys,

First I was looking for some kind of function that would tell me if my matrix had any 0's but couldn't find anything.

So I decided to just make a contains function but I wanted to make it work for lists,vectors and matrices but I couldn't find any way to flatten a matrix or turn it into a list.

Any suggestions?

Also as a side question is there a set of basic functions like this out there that someone has maybe put together so we don't all have to reinvent the wheel?

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


Messages In This Thread
Flatten a Matrix - dalupus - 10-09-2014 03:04 AM
RE: Flatten a Matrix - Joe Horn - 10-09-2014, 04:05 AM
RE: Flatten a Matrix - DrD - 10-09-2014, 12:49 PM
RE: Flatten a Matrix - dalupus - 10-09-2014, 02:17 PM



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