Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

joergboe/streamsx.math

 
 

Repository files navigation

streamsx.math

Mathematics and statistics toolkit.

Namespace: com.ibm.streamsx.math.functions

  1. Being able to apply the log(x) function against an entire list of values
  2. Being able to compute the distance between two lists

Namespace: com.ibm.streamsx.math.std

This namespace contains definitions for numerical functions from the c++ standard library.

Namespace: com.ibm.streamsx.math.common

This namespace contains a number of special conversion functions, matrix manipulation functions and transformation functions.

Changes

CHANGELOG.md

How to use this toolkit

  1. Download the latest release archive streamsx.math-X.Y.Z-el7-amd64--.tgz from: releases
  2. Unpack the archive e.g. to $HOME/toolkits
  3. Configure the SPL compiler to find the toolkit root directory. Use one of the following methods:
  • Set the STREAMS_SPLPATH environment variable to the root directory of a toolkit or multiple toolkits (with : as a separator). For example:
      export STREAMS_SPLPATH=$HOME/toolkits/com.ibm.streamsx.math
  • Specify the -t or --spl-path command parameter when you run the sc command. For example:
      sc -t $HOME/toolkits/com.ibm.streamsx.math -M MyMain

where MyMain is the name of the SPL main composite. Note: These command parameters override the STREAMS_SPLPATH environment variable.

  • Add the toolkit location in InfoSphere Streams Studio.
  1. Develop your application. To avoid the need to fully qualify the operators, add a use directive in your application.
  • For example, you can add the following clause in your SPL source file: use com.ibm.streamsx.math::*;
  1. Build your application. You can use the sc command or Streams Studio.
  2. Start the InfoSphere Streams instance.
  3. Run the application. You can submit the application as a job by using the streamtool submitjob command or by using Streams Studio.

About

(Incubation) Mathematics and statistics toolkit.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 50.9%
  • C++ 39.5%
  • Makefile 9.6%