nmpyc_array
Module for array definition and computation.
This module provides an array class and associated functions for corresponding matrix calculations.
The goal of this class and the individual functions is to enable compatibility of calculations with both casadi and numpy objects without changing the syntax of the program. This enables the user to program as easily as possible and at the same time to switch between symbolic and numeric calculation.
Classes
Class used to save arrays with symbolic or numeric values. |
Functions
Calculates the absolute value of a number or array. |
|
Calculates the arcuscosinus of a given number or array |
|
Calculates the arcuscosinus hypernolicus of a given number or array |
|
Calculates the arcussinus of a given number or array |
|
Calculates the arcussinus hyperbolicus of a given number or array |
|
Calculates the arcustangens of a given number or array |
|
Calculates the arcustangens hyperbolicus of a given number or array |
|
Join a sequence of arrays along an existing axis. |
|
Convert a numpy-, casadi- or nMPyC-array to another of these intances. |
|
Calculates the cosinus of a given number or array |
|
Calculates the cosinus hyperbolicus of a given number or array |
|
Creates an diagonal matrix from a given vector. |
|
Calculates the exponential of a given number or array |
|
Creates an array defining the idendity. |
|
Calculates the natural logarithm of a given number or array |
|
Raises a square matrix to the n-th power. |
|
Return the maximal value of the arguments |
|
Returns the minimal value of the arguments |
|
Returns the norm of a vector or matrix. |
|
Creates an array with only entries equal to one. |
|
Calculates the (elementwise) n-th power of a number or array. |
|
Reshape an array to a new size. |
|
Calculates the sinus of a given number or array |
|
Calculates the sinus hyperbolicus of a given number or array |
|
Calculates the square root of a given number or array |
|
Calculates the tangens of a given number or array |
|
Calculates the tangens hyperblicus of a given number or array |
|
Creates an array with only zero entries. |
Attributes
Constant to define infinity. |
|
Constant to define the number pi. |