Archived
1
This repository has been archived on 2022-08-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mathpad/MathKit/MPFractionFunction.h
Kim Wittenburg 7438fd1f95 Added Lots of Documentation
Added some nice to haves
Improved and Unified General Code Layout
2015-01-04 02:54:27 +01:00

52 lines
1.2 KiB
Objective-C

//
// MPFractionFunction.h
// MathPad
//
// Created by Kim Wittenburg on 07.10.14.
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
//
#import "MPFunction.h"
/*!
@header
This file contains the <code>MPFractionFunction</code> class.
*/
@class MPFractionFunction, MPExpression;
/*!
@class MPFractionFunction
@abstract This class represents a fraction.
@discussion A fraction has two children: the nominator and the denominator.
Typically it is displayed with a horizontal bar between the two
child expressions which are on top and below the bar
respectively. When a fraction is evaluated the nominator is
divided by the denominator.
*/
@interface MPFractionFunction : MPFunction
/*!
@property nominatorExpression
@abstract The receiver's nominator.
@discussion The nominator must not define a variable.
*/
@property (nonatomic, strong) MPExpression *nominatorExpression; /* Index 0 */
/*!
@property denominatorExpression
@abstract The receiver's denominator.
@discussion The denominator must not define a variable.
*/
@property (nonatomic, strong) MPExpression *denominatorExpression; /* Index 1 */
@end