ctranspose
R2026bLaurent matrix transpose
Syntax
Description
Examples
Create two Laurent polynomials:
lpA = laurentPolynomial(Coefficients=[2 4 6]); lpB = laurentPolynomial(Coefficients=[1 3 5],MaxOrder=2);
Create the Laurent matrix lmat = .
lmat = laurentMatrix(Elements={-1 lpA; lpB 7});Display the elements of the transpose of lmat.
lmatTrans = ctranspose(lmat); for j=1:2 for k=1:2 elt = lmatTrans.Elements{j,k}; fprintf("===================\nlmatTrans(%d,%d):\n",j,k); elt end end
=================== lmatTrans(1,1):
elt =
laurentPolynomial with properties:
Coefficients: -1
MaxOrder: 0
=================== lmatTrans(1,2):
elt =
laurentPolynomial with properties:
Coefficients: [1 3 5]
MaxOrder: 2
=================== lmatTrans(2,1):
elt =
laurentPolynomial with properties:
Coefficients: [2 4 6]
MaxOrder: 0
=================== lmatTrans(2,2):
elt =
laurentPolynomial with properties:
Coefficients: 7
MaxOrder: 0
Input Arguments
Laurent matrix, specified as a laurentMatrix object.
Output Arguments
Transpose of a Laurent matrix, returned as a laurentMatrix object.
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
GPU Code Generation
Generate CUDA® code for NVIDIA® GPUs using GPU Coder™.
The ctranspose
function fully supports thread-based environments. For more information, see Run MATLAB Functions in Thread-Based Environment.
Version History
Introduced in R2021bYou can use ctranspose in thread-based
environments. For more information, see Run MATLAB Functions in Thread-Based Environment.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)