Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

tril (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: linalgebra

Requires: MathScript RT Module


c = tril(a)

c = tril(a, b)


Returns the lower triangular part of a matrix.



Name Description
a Specifies a matrix.
b Specifies a diagonal in a. b is an integer.


Name Description
c Returns the lower triangular part of a. If you specify b and b is not equal to 0, c returns all elements of a on and below the bth diagonal. c is a matrix of the same size as a.


The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized


A = [1-i, 3+4i; 5-7i, -i]
C = tril(A)

Related Topics



Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit