Find the norm of the input matrix.  
More...
Find the norm of the input matrix. 
This function can return the norm using various metrics based on the type paramter.
- Note
- AF_NORM_MATRIX_2 is currently not supported. 
 
§ af_is_lapack_available()
Returns true is ArrayFire is compiled with LAPACK support. 
- Parameters
- 
  
    | [out] | out | is true if LAPACK support is available, false otherwise |  
 
- Returns
- AF_SUCCESS if successful (does not depend on the value of out) 
 
 
§ af_norm()
C Interface for norm of a matrix. 
- Parameters
- 
  
    | [out] | out | will contain the norm of in |  | [in] | in | is the input matrix |  | [in] | type | specifies the af::normType. Default: AF_NORM_VECTOR_1 |  | [in] | p | specifies the value of P when typeis one of AF_NORM_VECTOR_P, AF_NORM_MATRIX_L_PQ is used. It is ignored for other values oftype |  | [in] | q | specifies the value of Q when typeis AF_NORM_MATRIX_L_PQ. This parameter is ignored iftypeis anything else |  
 
 
 
§ isLAPACKAvailable()
      
        
          | AFAPI bool af::isLAPACKAvailable | ( |  | ) |  | 
      
 
Returns true is ArrayFire is compiled with LAPACK support. 
- Returns
- true is LAPACK support is available, false otherwise 
 
 
§ norm()
C++ Interface for norm of a matrix. 
- Parameters
- 
  
    | [in] | in | is the input matrix |  | [in] | type | specifies the af::normType. Default: AF_NORM_VECTOR_1 |  | [in] | p | specifies the value of P when typeis one of AF_NORM_VECTOR_P, AF_NORM_MATRIX_L_PQ is used. It is ignored for other values oftype |  | [in] | q | specifies the value of Q when typeis AF_NORM_MATRIX_L_PQ. This parameter is ignored iftypeis anything else |  
 
- Returns
- the norm of inbasedontype
- Examples: 
- image_processing/filters.cpp.