ClassYieldMat
Implements the YIELDMAT financial function, which calculates the annual yield for a security that pays interest at maturity.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class YieldMat : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionYieldMat
Inherited Members
Constructors
YieldMat()
Initializes a new YIELDMAT function instance for calculating annual yield on securities that pay all interest at maturity.
Declaration
public YieldMat()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Specifies the conversion rules applied to function arguments, excluding boolean-to-number conversions for financial calculations.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules as ArgumentConversionRules.
Overrides
FunctionInfo
Provides metadata describing the function's category, arguments, and help documentation.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the YIELDMAT function using the provided settlement date, maturity, issue date, interest rate, price, and optional basis, returning the annual yield as a numeric expression or an error.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides