项目作者: szhorvat

项目描述 :
Fast vectorized comparison and Boolean operations in the Wolfram Language.
高级语言: Mathematica
项目地址: git://github.com/szhorvat/BoolEval.git
创建时间: 2017-02-25T11:53:46Z
项目社区:https://github.com/szhorvat/BoolEval

开源协议:MIT License

下载


GitHub (pre-)release
Github All Releases
Contributions welcome

BoolEval

BoolEval is a Mathematica package that helps evaluate conditional expressions on numerical arrays, or filter numerical arrays based on conditions. Is does this without unpacking packed arrays and offers a significant speedup over Select and Cases while maintaining convenient notation. It is particularly useful in conjunction with Listable functions.

After installing, search the Documentation Center for “BoolEval” to see usage examples.

BoolEval was inspired by the question Does Mathematica have advanced indexing? on the Mathematica StackExchange.

A preview of this package is available as the BoolEval function in the Wolfram Function Repository.

Installation

BoolEval requires Mathematica 10.0 or later.

Download the .paclet file from the GitHub release pages, then install it using the PacletInstall function.

  1. Needs["PacletManager`"]
  2. PacletInstall["/path/to/BoolEval.paclet"]

For more information, see How can I install packages distributed as .paclet files?

The Wolfram Language will always use the latest installed version of BoolEval. Installed versions can be enumerated using the command:

  1. PacletFind["BoolEval"]

To uninstall all versions, use

  1. PacletUninstall["BoolEval"]

Getting started

Go to Help → Wolfram Documentation and search for BoolEval or paste BoolEval/tutorial/IntroductionToBoolEval into the address bar of the documentation browser.