43 lines
902 B
Objective-C
43 lines
902 B
Objective-C
//
|
|
// MPFractionFunction.h
|
|
// MathPad
|
|
//
|
|
// Created by Kim Wittenburg on 07.10.14.
|
|
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
|
|
//
|
|
|
|
#import "MPFunction.h"
|
|
|
|
|
|
|
|
@class MPFractionFunction, MPExpression;
|
|
|
|
|
|
/*!
|
|
@class MPFractionFunction
|
|
@brief This class represents a fraction.
|
|
|
|
@discussion When a fraction is evaluated the nominator is divided by the
|
|
denominator.
|
|
*/
|
|
@interface MPFractionFunction : MPFunction
|
|
|
|
/*!
|
|
@property nominatorExpression
|
|
@brief The receiver's nominator.
|
|
|
|
@discussion The nominator must not define a variable.
|
|
*/
|
|
@property (nonatomic, strong) MPExpression *nominatorExpression;
|
|
|
|
|
|
/*!
|
|
@property denominatorExpression
|
|
@brief The receiver's denominator.
|
|
|
|
@discussion The denominator must not define a variable.
|
|
*/
|
|
@property (nonatomic, strong) MPExpression *denominatorExpression;
|
|
|
|
@end
|