- Remove accidental browser
- Fixes bug that set all comparisons to empty sets as
TRUEwhen using$equals
- Patch for R devel
- Imported ooplah
- Containedness checks for 'n' dimensional sets no longer require same length vectors if power is "n"
- Fixed bug preventing
Logicalsfrom being deep cloned
- Bugfix in setcomplement (#65)
- Impossible intervals containing only one elements with type not equal to
[]are now equal to the empty set - Default
ConditionalSetconditionargument nowfunction(x) TRUE - Print method for
ConditionalSetnow omits RHS if only"TRUE"
- UniversalSet renamed Universal, old class will be removed in v0.4.0.
- LogicalSet renamed Logicals, old class will be removed in v0.4.0.
Complexnow inherits fromSet, incorrect methods forisSubset, equalshave been removed.- Add
Multisetfor sets with non-unique elements but no ordering - Small speed improvements in
TupleandFuzzyTuple - For consistency most methods now return a
listunless single elements requested - Printing of
ConditionalSetis fixed Rationalsand child-classes now error on calls tocontains, isSubset, equalsas any prior results were likely wrong/misleading- Removed erroneous complex boundaries in
Intervalclass
- Patch for R-devel
- Critical patch
- Bugfix in set operation cleaner
- Bugfix causing
Interval$containsto returnTRUEfor tuples - Bugfix in union sets incorrectly unwrapping products
- Added variable length
ExponentSets
- Added
LogicalSet, the set of${TRUE, FALSE}$ - Added
as.Set.numericandas.Tuple.numeric
- Speed performance improvements for
$containsmethod forIntervalandSet.Rcppnow used forInterval. - Now for any
Intervalif not bounded above andupperis$Inf$ thenmax = .Machine$double.xmax, analogously forlower. - Default universe of
Intervalis nowExtendedReals - Added default
as.Setandas.IntervalS3 methods
- Added assertion for testing if a set is countably finite
- Slight speed improvements to operations - still require a lot of work
- Fixed bug in
UnionSetcardinality calculation - Fixed bug in
UniversalSetcountability
- Updated documentation to be compatible with roxygen2
- Fixed bug in typed Complex sets
- Added universe assertion check to
Setconstructor - Bug fix in
setunioncausing some intervals not to be combined correctly -
Interval$isSubsetnow compares sets usingmaxandmininstead ofupperandlower - Calculation of
minandmaxinIntervalnow uses1e-15instead of.Machine$double.xmin -
$elementsnow always returns alist
- Add
$addpublic method to sets, which mutates sets by adding given elements, and coercing to the typed-set class if appropriate - Add
$removepublic method to sets, which mutates sets by removing given elements. - Add assertion for checking if elements contained in a set,
test/check/assertContains. - Add assertion for checking if sets are subsets of another,
test/check/assertSubset.
absComplementmethod is now deprecated, instead usesetcomplementand omit theyargument- Fixed error in
containsdefault caused by%inset% - Improved printing of
SpecialSets whenzero == TRUE - Added
UniversalSetfor the set containing all elements - Changed default
universeof sets toUniversalSet - Coercions now error instead of producing a message when they fail
- On construction,
Sets no longer guess the set class, instead an extraclassargument is added to give a set thetypedproperty - The internal
Setstructure is slightly changed so that set elements are now stored in lists by default, which is only changed if the set istyped - Added
elementargument toSetconstructor, which takes alist. This is more efficient if passing lists of lists or lists of multiple types, and in line with theFuzzySetconstructor - Improved printing of
ConditionalSets - Updated
powersetto always return aSetofSets (even if input isTuple) - Fixed bug in
Propertiescausing an error if cardinality was too large - Updated documentation
- Reduced
Setconstructor bottleneck by adding 'typed' sets - Changed
use_unicodedefault tol10n_info()$UTF-8
set6upgrades thesetspackage to R6. Many forms of mathematical sets are implemented, including (countably finite) sets, tuples, intervals (countably infinite or uncountable), and fuzzy variants. Wrappers extend functionality by allowing symbolic representations of complex operations on sets, including unions, (cartesian) products, exponentiation, and differences (asymmetric and symmetric).- See the website for more details and the project readme
- See getting started vignette for a short tutorial and introduction
set6is currently 'maturing', so whilst no major updates are planned they may happen. Constant minor updates should be expected.