SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] convert 1x16 to 4x4 matrix


Chronological Thread 
  • From: Christopher Butson PhD <butson@sci.utah.edu>
  • To: Petar Petrov <pip010@gmail.com>
  • Cc: "scirun-users@sci.utah.edu" <scirun-users@sci.utah.edu>
  • Subject: Re: [SCIRUN-USERS] convert 1x16 to 4x4 matrix
  • Date: Thu, 3 Aug 2017 09:03:47 -0600

You can create an empty 4x4 matrix and then use SetFieldData to populate it with the 1x16 vector. However, I can’t recall if SetFieldData performs this operation row-wise or column-wise.
Chris

Christopher R. Butson, PhD
Director of Neuromodulation Research
Faculty, Scientific Computing & Imaging (SCI) Institute
Associate Professor, Departments of Biomedical Engineering, Neurology & Neurosurgery
University of Utah

Warnock Engineering Building
72 South Central Campus Drive, Room 3686
Salt Lake City, Utah 84112
butson@sci.utah.edu

On Aug 3, 2017, at 8:54 AM, Petar Petrov <pip010@gmail.com> wrote:

Hello all,

how can I convert 1x16 to 4x4 matrix in scirun.
Spent 3 hours clicking around :(

Cheers,
Petar

________________________________________________
SCIRun users mailing list:  scirun-users@sci.utah.edu
http://www.sci.utah.edu/software/scirun.html
To unsubscribe, email sympa@lists.sci.utah.edu with the "unsubscribe scirun-users" in the message body.




Archive powered by MHonArc 2.6.18.

Top of page