Package org.shapelogic.mathematics

Mathematics

See:
          Description

Class Summary
MaxAccumulator AddAccumulator is an accumulator that add integers.
NaturalNumberStream Generated Natural Number.
PrimeNumberLongStream Generated Prime Number.

Should this be based on a BaseListStream, when there is no input?
Probably not.
How should they be generated?
I could say start by last number and add until you get one that does not have any of the previous as divisors.
There can be a stop value:
start index default 0

max last / last number default not set
PrimeNumberStream Generated Prime Number.

Should this be based on a BaseListStream, when there is no input?
Probably not.
How should they be generated?
I could say start by last number and add until you get one that does not have any of the previous as divisors.
There can be a stop value:
start index default 0

max last / last number default not set
SumAccumulator AddAccumulator is an accumulator that add integers.
 

Package org.shapelogic.mathematics Description

Mathematics

Classes for mathematics.

This is not linear algebra, which is delegated to external libs.
The goal is the work well with streams and lazy calculations.

Dependency



Copyright © 2008. All Rights Reserved.