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 MF_DET_VALID Instance attribute Private Type reference (TYPE) /SAPAPO/FCSTFLAG Flag that shows if Determinant is Valid 20091105
2 MT_VALUES Instance attribute Private Type reference (TYPE) /SAPAPO/TH_FCS_MATRIX Matrix - hashed table type 20091105
3 MV_DETERMINANT Instance attribute Private Type reference (TYPE) F Field of type FLTP 20091105
4 MV_NR_COLUMNS Instance attribute Private Type reference (TYPE) INT4 Natural number 20091105
5 MV_NR_ROWS Instance attribute Private Type reference (TYPE) INT4 Natural number 20091105
Methods
# Method Level Visibility Method type Description Created on
1 CLONE Instance method Public Method Clone a Matrix 20091105
2 CONSTRUCTOR Instance method Public Constructor Constructor / Creates a matrix 20091105
3 EQUATION_CALCULATION Static method Public Method Solve matrix Ax=b equations 20091105
4 EQ_CALC_SVD Static method Public Method Equation Calculation using Singular Value Decomposition 20091105
5 EQ_CALC_SVD_MATRIX Static method Public Method Equation Calculation using Singular Value Decomposition 20091105
6 GET_DETERMINANT Instance method Public Method Calculate the determinant 20091105
7 GET_DIMENSIONS Instance method Public Method Get dimensions of matrix 20091105
8 GET_VALUE Instance method Public Method Get one value of the matrix 20091105
9 GET_VALUES Instance method Public Method Get all values of Matrix 20091105
10 INVERSE Instance method Public Method Inverse matrix 20091105
11 PYTHAG Static method Private Method Pythagorean theorem 20091105
12 SET_VALUE Instance method Public Method Set one value of the matrix 20091105
13 SVDCMP Static method Public Method Singular Value Decomposition 20091105
14 TIMES Instance method Public Method Multiply matrix by other matrix 20091105
15 TRANSPOSE 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 Returning 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 Importing IT_VALUES Call by reference Type reference (TYPE) /SAPAPO/T_FCS_MATRIX Matrix - table type 20091105
# Exception Resumable Description Created on
1 /SAPAPO/CX_MATRIX Exceptions for Matrix calculations 20091105

Method EQUATION_CALCULATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_X_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
2 Importing IO_A_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
3 Importing IO_B_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
# Exception Resumable Description Created on
1 /SAPAPO/CX_MATRIX 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 Exporting EO_U_MATRIX Value transfer Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
2 Exporting EO_V_MATRIX Value transfer Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
3 Exporting EO_W_MATRIX Value transfer Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
4 Exporting EO_X_MATRIX Value transfer Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
5 Importing IO_A_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
6 Importing IO_B_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
# Exception Resumable Description Created on
1 /SAPAPO/CX_MATRIX 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 Exporting EO_U_MATRIX Value transfer Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
2 Exporting EO_V_MATRIX Value transfer Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
3 Exporting EO_W_MATRIX Value transfer Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
4 Exporting EO_X_MATRIX Value transfer Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
5 Importing IO_A_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
6 Importing IO_B_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
# Exception Resumable Description Created on
1 /SAPAPO/CX_MATRIX Exceptions for Matrix calculations 20091105

Method GET_DETERMINANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_DETERMINANT Value transfer Type reference (TYPE) FLOATVALUE Floating point value 20091105
# Exception Resumable Description Created on
1 /SAPAPO/CX_MATRIX Exceptions for Matrix calculations 20091105

Method GET_DIMENSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_COLUMNS Call by reference Type reference (TYPE) INT4 Natural number 20091105
2 Exporting 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 Returning ES_VALUE Value transfer Type reference (TYPE) /SAPAPO/S_FCS_MATRIX_VALUE Matrix value 20091105
2 Importing IV_COLUMN Call by reference Type reference (TYPE) INT4 Natural number 20091105
3 Importing IV_ROW Call by reference Type reference (TYPE) INT4 Natural number 20091105
# Exception Resumable Description Created on
1 /SAPAPO/CX_MATRIX Exceptions for Matrix calculations 20091105

Method GET_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Returning EO_INVERSE Value transfer Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
# Exception Resumable Description Created on
1 /SAPAPO/CX_MATRIX Exceptions for Matrix calculations 20091105

Method PYTHAG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_RESULT Value transfer Type reference (TYPE) /SAPAPO/WERT Field of type FLTP 20091105
2 Importing IV_A Call by reference Type reference (TYPE) /SAPAPO/WERT Field of type FLTP 20091105
3 Importing 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 Importing IS_VALUE Call by reference Type reference (TYPE) /SAPAPO/S_FCS_MATRIX_VALUE Matrix value 20091105
# Exception Resumable Description Created on
1 /SAPAPO/CX_MATRIX Exceptions for Matrix calculations 20091105

Method SVDCMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_U_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
2 Exporting EO_V_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
3 Exporting EO_W_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
4 Importing IO_A_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
# Exception Resumable Description Created on
1 /SAPAPO/CX_MATRIX Exceptions for Matrix calculations 20091105

Method TIMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EO_RESULT_MATRIX Value transfer Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
2 Importing IO_MULT_MATRIX Call by reference Object reference (TYPE REF TO) /SAPAPO/CL_MATRIX Matrix Calculations 20091105
# Exception Resumable Description Created on
1 /SAPAPO/CX_MATRIX Exceptions for Matrix calculations 20091105

Method TRANSPOSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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