Archived
1

Add Documentation and Clean Code

This commit is contained in:
Kim Wittenburg
2017-08-31 00:03:24 +02:00
parent cfa3723ce1
commit 43b907ba88
5 changed files with 12 additions and 11 deletions

8
MathKit/MPSumFunction.h Normal file → Executable file
View File

@@ -29,9 +29,9 @@
the start expression and the target expressions are included in
the iterations.
Each iteration the sum value is incremented by <code>1</code>. If
the start and target expression evaluate to the same value the
sum is evaluated once.
Each iteration the iteration value is incremented by
<code>1</code>. If the start and target expression evaluate to
the same value the sum is evaluated once.
*/
@interface MPSumFunction : MPFunction
@@ -41,7 +41,7 @@
@discussion The start expression must define a variable that may be used in
the sum expression. If the start expression does not define a
variable the sum function will fail on validation.
variable the sum function will not be evaluatable.
*/
@property (nonatomic, strong) MPExpression *startExpression; /* Index 0 */