Giter Site home page Giter Site logo

cset's Introduction

C++ Set Theory Library

Library for set theory operation on std::vector

Introdution

This is a simple project that aims to provide some simple and fast methods for working with mathematical sets on std::vectors. At the moment it only includes a handful of functions in the set namespace. The library may be expanded at a future time depending on my needs.

Documentation

https://thewisker.github.io/CSet

Author

TheWisker

cset's People

Contributors

thewisker avatar

Watchers

 avatar

cset's Issues

Possible implementation of Vann diagrams (+ more stuff)?

Hey, my dear friend Wisker, taking a look at your new library, i've thought one idea that i think can be useful/interesting to implement. How about Venn diagrams? Sometimes and in specific cases, we may need to implement a visual grafication of how sets operations/distributions work.

So, i suggest few implementations to be considered:

  • @graficate funtion -> This function implements a two-dimensional graphical representation where we can see the data set. This could be considered using the C++ ROOT library.
  • @cartesian_product function -> Sometimes we need the elements to be ordered, and in sets this is not possible, so we can implement this function such that it returns the Cartesian product of two sets in the following way: first, we order (numerically) in sortable collections each of the sets, where n-tuple (a1, a2, a3, ..., an) where a1 is the first element and an the last one. It can be said that n-tuples are equal if each numbered element of each pair is equal (between the two ordered collections), therefore, the 2-tuples are ordered pairs (a,b) and (c,d) if a=c and b=d.
    So, an example would be this: A={2,3} and B={a,b,c} is AƗB={(2,a),(2,b),(2,c),(3,a),(3,b),(3,c)}.

I have a lot more impls for that project but for now i give this impls (like ztransform, mutate, eraseScurve, extrapolate, checkSumEqual)

Have a good day :).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.