33 lines
713 B
Objective-C
33 lines
713 B
Objective-C
//
|
|
// MPPowerFunction.h
|
|
// MathPad
|
|
//
|
|
// Created by Kim Wittenburg on 30.09.14.
|
|
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
|
//
|
|
|
|
#import "MPFunction.h"
|
|
|
|
|
|
|
|
@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
|