streaming-percentiles/3.1.0

Cross-platform, multi-language implementation of multiple streaming percentile algorithms
Recipe info
2024-04-18

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
streaming-percentiles/3.1.0

Using streaming-percentiles

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
streaming-percentiles/3.1.0
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("streaming-percentiles/3.1.0")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): streaming-percentiles
  • CMake target name(s): streaming-percentiles::streaming-percentiles
  • pkg-config file name(s): streaming-percentiles.pc

A simple use case using the CMake file name and the global target:

# ...
find_package(streaming-percentiles REQUIRED)
# ...
target_link_libraries(YOUR_TARGET streaming-percentiles::streaming-percentiles)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the streaming-percentiles homepage listed above:

#include "stmpct/ckms_hbq.hpp"
#include "stmpct/ckms_impl.hpp"
#include "stmpct/ckms_lbq.hpp"
#include "stmpct/ckms_tq.hpp"
#include "stmpct/ckms_uq.hpp"
#include "stmpct/gk.hpp"
#include "stmpct/targeted_quantile.hpp"