Archived
1

Added the MPExpressionTree Classes

This commit is contained in:
Kim Wittenburg
2014-10-13 23:53:04 +02:00
parent 82259f87e2
commit 5592128926
60 changed files with 1981 additions and 725 deletions

23
MathPad/MPProduct.h Normal file
View File

@@ -0,0 +1,23 @@
//
// MPProduct.h
// MathPad
//
// Created by Kim Wittenburg on 09.10.14.
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MPExpressionTreeElement.h"
#import "MPFactor.h"
@interface MPProduct : NSObject <MPExpressionTreeElement>
- (NSArray *)factors;
- (void)appendFactor:(MPFactor *)factor;
- (void)insertFactor:(MPFactor *)factor
atIndex:(NSUInteger)index;
- (void)removeFactor:(MPFactor *)factor;
- (void)removeFactorAtIndex:(NSUInteger)index;
- (MPFactor *)factorAtIndex:(NSUInteger)index;
@end