Reorganized File Structure
Added Documentation
This commit is contained in:
27
MathKit/MPPowerFunction.m
Normal file
27
MathKit/MPPowerFunction.m
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// MPPowerFunction.m
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 30.09.14.
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MPPowerFunction.h"
|
||||
|
||||
#import "MPExpression.h"
|
||||
|
||||
@implementation MPPowerFunction
|
||||
|
||||
MPFunctionAccessorImplementation(ExponentExpression, _exponentExpression)
|
||||
|
||||
- (NSArray *)childrenAccessors
|
||||
{
|
||||
return @[@"exponentExpression"];
|
||||
}
|
||||
|
||||
- (NSString *)description
|
||||
{
|
||||
return [NSString stringWithFormat:@"^%@", self.exponentExpression.description];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user