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/MPFactorialTerm.h
2014-12-17 22:04:49 +01:00

48 lines
1.1 KiB
Objective-C

//
// MPFactorialTerm.h
// MathPad
//
// Created by Kim Wittenburg on 15.11.14.
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
//
#import "MPTerm.h"
@class MPFactorialTerm;
/*!
@class MPFactorialTerm
@abstract A factorial term implements the factorial function.
@discussion Because the factorial function is only defined for whole numbers,
actually the gamma function is used. The gamma function is
defined for all real numbers.
*/
@interface MPFactorialTerm : MPTerm
/*!
@method initWithTerm:
@abstract Initializes the receiver with the specified term.
@discussion The <code>term</code> is not copied.
@param term
The term to initialize the receiver. Must not be
<code>nil</code>.
@return A newly initialized factorial term.
*/
- (instancetype)initWithTerm:(MPTerm *)term; /* designated initializer */
/*!
@property term
@abstract The receiver's term.
*/
@property (readonly, nonatomic, strong) MPTerm *term;
@end