10-09-2014, 03:04 AM
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
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