// // MPRootFunction.h // MathPad // // Created by Kim Wittenburg on 11.01.15. // Copyright (c) 2015 Kim Wittenburg. All rights reserved. // #import "MPFunction.h" /*! @header This file contains the MPRootFunction class. */ @class MPRootFunction, MPExpression; /*! @class MPRootFunction @abstract This class represents an arbitrary root function. @discussion A root has two children: An exponent and the expression to be rooted. */ @interface MPRootFunction : MPFunction /*! @property exponentExpression @abstract The receiver's exponent. */ @property (nonatomic, strong) MPExpression *exponentExpression; /* Index 0 */ /*! @property rootExpression @abstract The receiver's root expression. @discussion The root expression is the expression that is to be rooted. */ @property (nonatomic, strong) MPExpression *rootExpression; /* Index 1 */ @end