Reorganized File Structure
Added Documentation
This commit is contained in:
25
MathKit/MPFunctionTerm.h
Normal file
25
MathKit/MPFunctionTerm.h
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// MPFunctionTerm.h
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 12.11.14.
|
||||
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MPTerm.h"
|
||||
|
||||
#define MPEvaluateExpression(var, index) NSDecimalNumber *var = [[self expressionAtIndex:index] evaluate:error]; if (var == nil) return nil
|
||||
|
||||
|
||||
|
||||
@class MPFunctionTerm, MPFunction, MPParsedExpression;
|
||||
|
||||
|
||||
@interface MPFunctionTerm : MPTerm
|
||||
|
||||
- (instancetype)initWithFunction:(MPFunction *)function
|
||||
errors:(NSArray *__autoreleasing *)errors; /* designated initializer */
|
||||
|
||||
- (MPParsedExpression *)expressionAtIndex:(NSUInteger)anIndex;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user