libflame
revision_anchor
|
Go to the source code of this file.
Functions | |
FLA_Error | FLA_Apply_G (FLA_Side side, FLA_Direct direct, FLA_Obj G, FLA_Obj A) |
FLA_Error | FLA_Apply_G_internal (FLA_Side side, FLA_Direct direct, FLA_Obj G, FLA_Obj A) |
FLA_Error FLA_Apply_G | ( | FLA_Side | side, |
FLA_Direct | direct, | ||
FLA_Obj | G, | ||
FLA_Obj | A | ||
) |
References FLA_Apply_G_check(), FLA_Apply_G_internal(), FLA_Check_error_level(), and FLA_Obj_has_zero_dim().
{ FLA_Error r_val; // Check parameters. if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING ) FLA_Apply_G_check( side, direct, G, A ); if ( FLA_Obj_has_zero_dim( G ) ) return FLA_SUCCESS; // Invoke FLA_Apply_G_internal() to parse parameters. r_val = FLA_Apply_G_internal( side, direct, G, A ); return r_val; }
FLA_Error FLA_Apply_G_internal | ( | FLA_Side | side, |
FLA_Direct | direct, | ||
FLA_Obj | G, | ||
FLA_Obj | A | ||
) |
References FLA_Apply_G_lf_opt_var1(), and FLA_Apply_G_rf_opt_var1().
Referenced by FLA_Apply_G().
{ FLA_Error r_val = FLA_SUCCESS; if ( side == FLA_LEFT ) { if ( direct == FLA_FORWARD ) { r_val = FLA_Apply_G_lf_opt_var1( G, A ); } else if ( direct == FLA_BACKWARD ) { FLA_Check_error_code( FLA_NOT_YET_IMPLEMENTED ); //r_val = FLA_Apply_G_lb_opt_var1( G, A ); } } else if ( side == FLA_RIGHT ) { if ( direct == FLA_FORWARD ) { r_val = FLA_Apply_G_rf_opt_var1( G, A ); } else if ( direct == FLA_BACKWARD ) { FLA_Check_error_code( FLA_NOT_YET_IMPLEMENTED ); //r_val = FLA_Apply_G_rb_opt_var1( G, A ); } } return r_val; }