Functions | |
FLA_Error | FLASH_Norm1 (FLA_Obj H, FLA_Obj norm) |
References FLA_Norm1(), FLA_Obj_free(), and FLASH_Obj_create_flat_copy_of_hier().
00036 { 00037 FLA_Obj F; 00038 00039 // Create a temporary flat copy of the hierarchical object. 00040 FLASH_Obj_create_flat_copy_of_hier( H, &F ); 00041 00042 // Compute the 1-norm of F and store it in norm. 00043 FLA_Norm1( F, norm ); 00044 00045 // Free the temporary flat object. 00046 FLA_Obj_free( &F ); 00047 00048 return FLA_SUCCESS; 00049 }