Negates the specified function.
Namespace:
CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static OneVariableFunction Negate( OneVariableFunction f ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function Negate ( _ f As OneVariableFunction _ ) As OneVariableFunction |
| Visual C++ |
|---|
public: static OneVariableFunction^ Negate( OneVariableFunction^ f ) |
Parameters
- f
- Type: CenterSpace.NMath.Core..::.OneVariableFunction
A function.
Return Value
A new function representing -f(x).
Remarks
g(x) = -f(x) for all x