|
| static std::vector< std::vector< MatType > > | blocksplit (const MatType &x, const std::vector< casadi_int > &vert_offset, const std::vector< casadi_int > &horz_offset) |
| |
| static std::vector< std::vector< MatType > > | blocksplit (const MatType &x, casadi_int vert_incr, casadi_int horz_incr) |
| |
| static MatType | veccat (const std::vector< MatType > &x) |
| |
| static MatType | vec (const MatType &x) |
| |
| static MatType | repmat (const MatType &x, casadi_int n, casadi_int m=1) |
| |
| static std::vector< casadi_int > | offset (const std::vector< MatType > &v, bool vert=true) |
| |
| static std::vector< MatType > | diagsplit (const MatType &x, const std::vector< casadi_int > &output_offset) |
| |
| static std::vector< MatType > | diagsplit (const MatType &x, casadi_int incr) |
| |
| static std::vector< MatType > | diagsplit (const MatType &x, casadi_int incr1, casadi_int incr2) |
| |
| static MatType | mtimes (const std::vector< MatType > &args) |
| |
| static std::vector< MatType > | horzsplit (const MatType &x, casadi_int incr) |
| |
| static std::vector< MatType > | vertsplit (const MatType &x, casadi_int incr) |
| |
| static std::vector< MatType > | horzsplit_n (const MatType &x, casadi_int n) |
| |
| static std::vector< MatType > | vertsplit_n (const MatType &x, casadi_int n) |
| |
| static MatType | repmat (const MatType &A, const std::pair< casadi_int, casadi_int > &rc) |
| |
|
| MatType | horzcat (const std::vector< MatType > &v) |
| | Concatenate a list of matrices horizontally. More...
|
| |
| MatType | vertcat (const std::vector< MatType > &v) |
| | Concatenate a list of matrices vertically. More...
|
| |
| std::vector< MatType > | horzsplit (const MatType &x, const std::vector< casadi_int > &offset) |
| | split horizontally, retaining groups of columns More...
|
| |
| std::vector< MatType > | horzsplit (const MatType &x, casadi_int incr=1) |
| | split horizontally, retaining fixed-sized groups of columns More...
|
| |
| std::vector< MatType > | horzsplit_n (const MatType &x, casadi_int n) |
| | split horizontally, retaining fixed-sized groups of columns More...
|
| |
| std::vector< MatType > | vertsplit (const MatType &x, const std::vector< casadi_int > &offset) |
| | split vertically, retaining groups of rows More...
|
| |
| std::vector< casadi_int > | offset (const std::vector< MatType > &v, bool vert=true) |
| | Helper function, get offsets corresponding to a vector of matrices. More...
|
| |
| std::vector< MatType > | vertsplit (const MatType &x, casadi_int incr=1) |
| | split vertically, retaining fixed-sized groups of rows More...
|
| |
| std::vector< MatType > | vertsplit_n (const MatType &x, casadi_int n) |
| | split vertically, retaining fixed-sized groups of rows More...
|
| |
| MatType | blockcat (const std::vector< std::vector< MatType > > &v) |
| | Construct a matrix from a list of list of blocks. More...
|
| |
| MatType | blockcat (const MatType &A, const MatType &B, const MatType &C, const MatType &D) |
| | Construct a matrix from 4 blocks. More...
|
| |
| std::vector< std::vector< MatType > > | blocksplit (const MatType &x, const std::vector< casadi_int > &vert_offset, const std::vector< casadi_int > &horz_offset) |
| | chop up into blocks More...
|
| |
| std::vector< std::vector< MatType > > | blocksplit (const MatType &x, casadi_int vert_incr=1, casadi_int horz_incr=1) |
| | chop up into blocks More...
|
| |
| MatType | diagcat (const std::vector< MatType > &A) |
| | Construct a matrix with given block on the diagonal. More...
|
| |
| std::vector< MatType > | diagsplit (const MatType &x, const std::vector< casadi_int > &output_offset1, const std::vector< casadi_int > &output_offset2) |
| | split diagonally, retaining square matrices More...
|
| |
| std::vector< MatType > | diagsplit (const MatType &x, const std::vector< casadi_int > &output_offset) |
| | split diagonally, retaining square matrices More...
|
| |
| std::vector< MatType > | diagsplit (const MatType &x, casadi_int incr=1) |
| | split diagonally, retaining groups of square matrices More...
|
| |
| std::vector< MatType > | diagsplit (const MatType &x, casadi_int incr1, casadi_int incr2) |
| | split diagonally, retaining fixed-sized matrices More...
|
| |
| MatType | veccat (const std::vector< MatType > &x) |
| | concatenate vertically while vectorizing all arguments with vec More...
|
| |
| MatType | mtimes (const MatType &x, const MatType &y) |
| | Matrix product of two matrices. More...
|
| |
| MatType | mtimes (const std::vector< MatType > &args) |
| | Matrix product of n matrices. More...
|
| |
| MatType | mac (const MatType &x, const MatType &y, const MatType &z) |
| | Multiply-accumulate operation. More...
|
| |
| MatType | transpose (const MatType &X) |
| | Transpose. More...
|
| |
| MatType | vec (const MatType &x) |
| | make a vector More...
|
| |
| MatType | reshape (const MatType &x, casadi_int nrow, casadi_int ncol) |
| | Returns a reshaped version of the matrix. More...
|
| |
| MatType | reshape (const MatType &x, std::pair< casadi_int, casadi_int > rc) |
| | Returns a reshaped version of the matrix, dimensions as a vector. More...
|
| |
| MatType | reshape (const MatType &x, const Sparsity &sp) |
| | Reshape the matrix. More...
|
| |
| MatType | sparsity_cast (const MatType &x, const Sparsity &sp) |
| | Cast matrix nonzeros to different Sparsity. More...
|
| |
| casadi_int | sprank (const MatType &x) |
| | Obtain the structural rank of a sparsity-pattern. More...
|
| |
| casadi_int | norm_0_mul (const MatType &x, const MatType &y) |
| | 0-norm (nonzero count) of a Matrix-matrix product More...
|
| |
| MatType | triu (const MatType &x, bool includeDiagonal=true) |
| | Get the upper triangular part of a matrix. More...
|
| |
| MatType | tril (const MatType &x, bool includeDiagonal=true) |
| | Get the lower triangular part of a matrix. More...
|
| |
| MatType | kron (const MatType &a, const MatType &b) |
| | Kronecker tensor product. More...
|
| |
| MatType | repmat (const MatType &A, casadi_int n, casadi_int m=1) |
| | Repeat matrix A n times vertically and m times horizontally. More...
|
| |
| MatType | repmat (const MatType &A, const std::pair< casadi_int, casadi_int > &rc) |
| | Repeat matrix A n times vertically and m times horizontally. More...
|
| |
| MatType | horzcat (const MatType &x, const MatType &y) |
| | Concatenate horizontally, two matrices. More...
|
| |
| MatType | horzcat (const MatType &x, const MatType &y, const MatType &z) |
| | Concatenate horizontally, three matrices. More...
|
| |
| MatType | horzcat (const MatType &x, const MatType &y, const MatType &z, const MatType &w) |
| | Concatenate horizontally, four matrices. More...
|
| |
| MatType | horzcat (const MatType &x, const MatType &y, const MatType &z, const MatType &w, const MatType &v) |
| | Concatenate horizontally, five matrices. More...
|
| |
| MatType | horzcat (const MatType &x, const MatType &y, const MatType &z, const MatType &w, const MatType &v, const MatType &u) |
| | Concatenate horizontally, six matrices. More...
|
| |
| MatType | vertcat (const MatType &x, const MatType &y) |
| | Concatenate vertically, two matrices. More...
|
| |
| MatType | vertcat (const MatType &x, const MatType &y, const MatType &z) |
| | Concatenate vertically, three matrices. More...
|
| |
| MatType | vertcat (const MatType &x, const MatType &y, const MatType &z, const MatType &w) |
| | Concatenate vertically, four matrices. More...
|
| |
| MatType | vertcat (const MatType &x, const MatType &y, const MatType &z, const MatType &w, const MatType &v) |
| | Concatenate vertically, five matrices. More...
|
| |
| MatType | vertcat (const MatType &x, const MatType &y, const MatType &z, const MatType &w, const MatType &v, const MatType &u) |
| | Concatenate vertically, six matrices. More...
|
| |
| MatType | diagcat (const MatType &x, const MatType &y) |
| | Concatenate along diagonal, two matrices. More...
|
| |
| MatType | diagcat (const MatType &x, const MatType &y, const MatType &z) |
| | Concatenate along diagonal, three matrices. More...
|
| |
| MatType | diagcat (const MatType &x, const MatType &y, const MatType &z, const MatType &w) |
| | Concatenate along diagonal, four matrices. More...
|
| |
| MatType | diagcat (const MatType &x, const MatType &y, const MatType &z, const MatType &w, const MatType &v) |
| | Concatenate along diagonal, five matrices. More...
|
| |
| MatType | diagcat (const MatType &x, const MatType &y, const MatType &z, const MatType &w, const MatType &v, const MatType &u) |
| | Concatenate along diagonal, six matrices. More...
|
| |
| MatType | sum1 (const MatType &x) |
| | Return a row-wise summation of elements. More...
|
| |
| MatType | sum2 (const MatType &x) |
| | Return a column-wise summation of elements. More...
|
| |
| MatType | sum (const MatType &x) |
| | Returns summation of all elements. More...
|
| |