Skip to content
Joris Gillis edited this page Apr 4, 2023 · 2 revisions

Standard documentation for triu:

 Get the upper triangular part of a matrix.

::

 triu(Sparsity a, bool includeDiagonal) -> Sparsity
 triu(DM a, bool includeDiagonal) -> DM
 triu(SX a, bool includeDiagonal) -> SX
 triu(MX a, bool includeDiagonal) -> MX

Extra doc: https://github.com/casadi/casadi/wiki/L_45

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L398

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/sparsity_interface.hpp#L398-L400

Extra documentation

To edit, see writing tips.

Clone this wiki locally