Post Reply 
Vector or list to Number "conversion" (SOLVED.)
03-20-2015, 10:59 AM
Post: #4
RE: Vector or list to Number "conversion"
Perhaps a "List" approach might be useful?

mat2list([1/2]) == 1/2 => {1}

mat2list([1/2, 1/4, 1/2]} == 1/2 => {1, 0, 1}

Using the list facility the test applies to one (or more) elements, without referencing a specific element number.

-Dale-
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Vector or list to Number "conversion" - DrD - 03-20-2015 10:59 AM



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