LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

Sparse matrices

Does Mathscript feature any type of sparse matrix operations (perhaps one of the most powerful matrix features of Matlab)?


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 1 of 3
(7,577 Views)
Unfortunately, LabVIEW MathScript does not provide support for sparse matrices at this time.  We are considering the possible inclusion of sparse matrix support in a future release.

Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments
Message 2 of 3
(7,559 Views)
 
 
if you're tried making an .exe from a vi with a Mathscript node with Application Builder 8.2,
you discovered that (surprisingly) the Mathscript node is being converted to G code.
This was particularly obvious when I made a simple executable that ran
a modified Cholesky algorithm in the Mathscript node. Numerous linear algebra vi's
that were not on the block diagram were included in the slow build.
 
So, for Mathscript to support sparse matrices, LabVIEW will probably have to support
sparse matrices first. I imagine they are working on it as we speak.
But in the interim, attached is a first start:  a tri-diagonal matrix solver
using the fast Thomas algorithm.
 
 
0 Kudos
Message 3 of 3
(6,990 Views)