SAP ABAP Class /SAPAPO/CL_MATRIX (Matrix Calculations)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
SCM-BAS (Application Component) SCM Basis
⤷
/SAPAPO/SCMB_FORECAST (Package) Forecast
⤷
⤷
Properties
| Class | /SAPAPO/CL_MATRIX | |
| Short Description | Matrix Calculations | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SAPAPO/SCMB_FORECAST | Forecast |
| Created | 20090911 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /SAPAPO/CL_MATRIX has no forward declaration.
Interfaces
Class /SAPAPO/CL_MATRIX has no interface implemented.
Friends
Class /SAPAPO/CL_MATRIX has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | /SAPAPO/FCSTFLAG | Flag that shows if Determinant is Valid | 20091105 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | /SAPAPO/TH_FCS_MATRIX | Matrix - hashed table type | 20091105 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | F | Field of type FLTP | 20091105 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | INT4 | Natural number | 20091105 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | INT4 | Natural number | 20091105 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Clone a Matrix | 20091105 | |
| 2 | Instance method | Public | Constructor | Constructor / Creates a matrix | 20091105 | |
| 3 | Static method | Public | Method | Solve matrix Ax=b equations | 20091105 | |
| 4 | Static method | Public | Method | Equation Calculation using Singular Value Decomposition | 20091105 | |
| 5 | Static method | Public | Method | Equation Calculation using Singular Value Decomposition | 20091105 | |
| 6 | Instance method | Public | Method | Calculate the determinant | 20091105 | |
| 7 | Instance method | Public | Method | Get dimensions of matrix | 20091105 | |
| 8 | Instance method | Public | Method | Get one value of the matrix | 20091105 | |
| 9 | Instance method | Public | Method | Get all values of Matrix | 20091105 | |
| 10 | Instance method | Public | Method | Inverse matrix | 20091105 | |
| 11 | Static method | Private | Method | Pythagorean theorem | 20091105 | |
| 12 | Instance method | Public | Method | Set one value of the matrix | 20091105 | |
| 13 | Static method | Public | Method | Singular Value Decomposition | 20091105 | |
| 14 | Instance method | Public | Method | Multiply matrix by other matrix | 20091105 | |
| 15 | Instance method | Public | Method | Transpose matrix | 20091105 |
Events
Class /SAPAPO/CL_MATRIX has no event.
Types
Class /SAPAPO/CL_MATRIX has no local type.
Method Signatures
Method CLONE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_CLONE_MATRIX | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 |
Method CLONE on class /SAPAPO/CL_MATRIX has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_VALUES | Call by reference | Type reference (TYPE) | /SAPAPO/T_FCS_MATRIX | Matrix - table type | 20091105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Matrix calculations | 20091105 |
Method EQUATION_CALCULATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_X_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 2 | IO_A_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 3 | IO_B_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Matrix calculations | 20091105 |
Method EQ_CALC_SVD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_U_MATRIX | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 2 | EO_V_MATRIX | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 3 | EO_W_MATRIX | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 4 | EO_X_MATRIX | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 5 | IO_A_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 6 | IO_B_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Matrix calculations | 20091105 |
Method EQ_CALC_SVD_MATRIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_U_MATRIX | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 2 | EO_V_MATRIX | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 3 | EO_W_MATRIX | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 4 | EO_X_MATRIX | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 5 | IO_A_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 6 | IO_B_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Matrix calculations | 20091105 |
Method GET_DETERMINANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DETERMINANT | Value transfer | Type reference (TYPE) | FLOATVALUE | Floating point value | 20091105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Matrix calculations | 20091105 |
Method GET_DIMENSIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_COLUMNS | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20091105 | |||
| 2 | EV_ROWS | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20091105 |
Method GET_DIMENSIONS on class /SAPAPO/CL_MATRIX has no exception.
Method GET_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_VALUE | Value transfer | Type reference (TYPE) | /SAPAPO/S_FCS_MATRIX_VALUE | Matrix value | 20091105 | |||
| 2 | IV_COLUMN | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20091105 | |||
| 3 | IV_ROW | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20091105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Matrix calculations | 20091105 |
Method GET_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_VALUES | Value transfer | Type reference (TYPE) | /SAPAPO/T_FCS_MATRIX | Matrix - table type | 20091105 |
Method GET_VALUES on class /SAPAPO/CL_MATRIX has no exception.
Method INVERSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_INVERSE | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Matrix calculations | 20091105 |
Method PYTHAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_RESULT | Value transfer | Type reference (TYPE) | /SAPAPO/WERT | Field of type FLTP | 20091105 | |||
| 2 | IV_A | Call by reference | Type reference (TYPE) | /SAPAPO/WERT | Field of type FLTP | 20091105 | |||
| 3 | IV_B | Call by reference | Type reference (TYPE) | /SAPAPO/WERT | Field of type FLTP | 20091105 |
Method PYTHAG on class /SAPAPO/CL_MATRIX has no exception.
Method SET_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_VALUE | Call by reference | Type reference (TYPE) | /SAPAPO/S_FCS_MATRIX_VALUE | Matrix value | 20091105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Matrix calculations | 20091105 |
Method SVDCMP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_U_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 2 | EO_V_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 3 | EO_W_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 4 | IO_A_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Matrix calculations | 20091105 |
Method TIMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_RESULT_MATRIX | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 | |||
| 2 | IO_MULT_MATRIX | Call by reference | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions for Matrix calculations | 20091105 |
Method TRANSPOSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_TRANSPOSE | Value transfer | Object reference (TYPE REF TO) | /SAPAPO/CL_MATRIX | Matrix Calculations | 20091105 |
Method TRANSPOSE on class /SAPAPO/CL_MATRIX has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |