//
//  MPPowerFunction.h
//  MathKit
//
//  Created by Kim Wittenburg on 30.09.14.
//  Copyright (c) 2014 Kim Wittenburg. All rights reserved.
//

#import "MPFunction.h"


/*!
 @header
 This file contains the <code>MPPowerFunction</code> class.
 */



@class MPPowerFunction, MPExpression;


/*!
    @class      MPPowerFunction
    @abstract   This class represents a power.
 */
@interface MPPowerFunction : MPFunction

/*!
    @property   exponentExpression
    @abstract   The receiver's exponent.
 
    @discussion The base of the power can only be set during evaluation because
                it is not actually part of the function element.
                The exponent must not define a variable.
 */
@property (nonatomic, strong) MPExpression *exponentExpression; /* Index 0 */

@end
