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

Standard documentation for GenDM.nnz_upper,GenSX.nnz_upper,GenMX.nnz_upper:

 [INTERNAL] 

::

 nnz_upper(self) -> int

Get the number of non-zeros in the upper triangular half.

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

Doc source: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L94

Implementation: https://github.com/casadi/casadi/blob/develop/casadi/core/generic_matrix.hpp#L1129-L1131

Extra documentation

To edit, see writing tips.

Clone this wiki locally