libflame revision_anchor
FLA_Negate.c File Reference

(r)

Functions

FLA_Error FLA_Negate (FLA_Obj x)
 

Function Documentation

◆ FLA_Negate()

FLA_Error FLA_Negate ( FLA_Obj x)
14{
15 if ( FLA_Check_error_level() >= FLA_MIN_ERROR_CHECKING )
17
18 return FLA_Scal( FLA_MINUS_ONE, x );
19}
FLA_Error FLA_Negate_check(FLA_Obj x)
Definition FLA_Negate_check.c:13
FLA_Error FLA_Scal(FLA_Obj alpha, FLA_Obj A)
Definition FLA_Scal.c:15
FLA_Obj FLA_MINUS_ONE
Definition FLA_Init.c:22
unsigned int FLA_Check_error_level(void)
Definition FLA_Check.c:18

References FLA_Check_error_level(), FLA_MINUS_ONE, FLA_Negate_check(), and FLA_Scal().