Add Root Function and Product Function
This commit is contained in:
46
MathKit/MPRootFunction.h
Executable file
46
MathKit/MPRootFunction.h
Executable file
@@ -0,0 +1,46 @@
|
||||
//
|
||||
// MPRootFunction.h
|
||||
// MathPad
|
||||
//
|
||||
// Created by Kim Wittenburg on 11.01.15.
|
||||
// Copyright (c) 2015 Kim Wittenburg. All rights reserved.
|
||||
//
|
||||
|
||||
#import "MPFunction.h"
|
||||
|
||||
|
||||
/*!
|
||||
@header
|
||||
This file contains the <code>MPRootFunction</code> class.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@class MPRootFunction, MPExpression;
|
||||
|
||||
|
||||
/*!
|
||||
@class MPRootFunction
|
||||
@abstract This class represents an arbitrary root function.
|
||||
|
||||
@discussion A root has two children: An exponent and the expression to be
|
||||
rooted.
|
||||
*/
|
||||
@interface MPRootFunction : MPFunction
|
||||
|
||||
/*!
|
||||
@property exponentExpression
|
||||
@abstract The receiver's exponent.
|
||||
*/
|
||||
@property (nonatomic, strong) MPExpression *exponentExpression; /* Index 0 */
|
||||
|
||||
|
||||
/*!
|
||||
@property rootExpression
|
||||
@abstract The receiver's root expression.
|
||||
|
||||
@discussion The root expression is the expression that is to be rooted.
|
||||
*/
|
||||
@property (nonatomic, strong) MPExpression *rootExpression; /* Index 1 */
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user