Array Algebra
This script finds the complement of a set of indices from a specific arange(n) array. Suppose, for example, you are given a linear array with 10 elements and you want to extract the elements from this array that have indices other than [1, 3, 5].You can then use this recipe to first find the...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): A numarray set complement Download |
This script is a groupby function for arrays. Given a list of arrays and a `key` function, it will group each array based on the value of `key(args[0])`. The returned arrays will be two dimensional. The size of the first dimension is equal to the number of groups, and the size of the second...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Groupby for ndarrays Download |
Snifflib is a Java based numerical library designed to provide honest-to-goodness N-dimensional array construction and manipulation along with standard linear algebra functionality as well as statistics and computational routines in the Java language.
for WindowsAll
Platforms: Windows
License: Freeware | Download (47): Snifflib Download |
Algebra One on One is an educational game for those wanting a fun way to learn and practice Algebra. This program covers 21 functions which includes maximums, minimums, absolute values, averages, x/y, ax + b, axy + b, ax + by + c, squares, cubes, and so on. It has a practice and a game area. It...
Platforms: Windows
License: Freeware | Size: 859 KB | Download (465): Algebra - One On One Download |
IP-Array is a Linux iptables firewall script written in bash. IP-Array allows the creation of precise, stateful rules, while remaining easy to configure. Goals: An easy to configure firewall - still leaving the user the possiblillity to configure detailed rules - which creates thight...
Platforms: *nix
License: Freeware | Size: 71.68 KB | Download (102): IP-Array Download |
Tie::Array::PackedC is a tie a Perl array to a C-style array (packed; elements of a single, simple data type). SYNOPSIS use Tie::Array::PackedC qw(packed_array packed_array_string); my $ref=packed_array(1,2,3,4); my $ref2=packed_array_string(my $s,1,2,3,4); use Tie::Array::PackedC...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (88): Tie::Array::PackedC Download |
Array::Each::Tutorial - POD giving various examples how to use Array::Each. SYNOPSIS man Array::Each man Array::Each::Tutorial or perldoc Array::Each perldoc Array::Each::Tutorial Overview This tutorial contains only POD, so dont do this: use Array::Each::Tutorial; # dont do this...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (121): Array::Each::Tutorial Download |
SYNOPSIS use Array::Compare; my $comp1 = Array::Compare->new; $comp->Sep(|); $comp->Skip({3 => 1, 4 => 1}); $comp->WhiteSpace(0); $comp->Case(1); my $comp2 = Array::Compare->new(Sep => |, WhiteSpace => 0, Case => 1, Skip => {3 => 1, 4 => 1}); my @arr1 = 0 .. 10; my @arr2 = 0 .....
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (98): Array::Compare Download |
Tie::Array::RestrictUpdates can limit the number of times you change elements in an array. SYNOPSIS use Tie::Array::RestrictUpdates; tie @foo,"Tie::Array::RestrictUpdates",1; # Default limit is 1. # Every element from the array can only be changed once @foo = qw(A B C D E); for(0..4) {...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (90): Tie::Array::RestrictUpdates Download |
Variable::Strongly::Typed::Array is a Perl module for strongly typed array. SYNOPSIS This class is utilized by Variable::Strongly::Typed - you dont access this directly my @array_of_ints :TYPE(int); # Each slot must contain an int my @array_of_rgb :TYPE(&red_green_blue); # my enumerated...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (92): Variable::Strongly::Typed::Array Download |
AVL Array is an STL-like container for C++ that fills the gap between vector (or deque) and list, providing both fast random access and fast insertion/removal, all O(log n). This is not a map; in an avl_array, the "keys" always range from 0 to size-1, and they automatically change on insertion...
Platforms: *nix
License: Freeware | Size: 71.68 KB | Download (93): AVL Array Download |
Tie::FlatFile::Array is a Perl extension which treats a flatfile database as an array of arrays. This module allows the programmer to treat a flatfile database as as array of arrays. For example, lets say you have a datafile that has fixed-length records like so: Field-name Type URL ASCII...
Platforms: *nix
License: Freeware | Size: 5.12 KB | Download (94): Tie::FlatFile::Array Download |
Math::Algebra::Symbols is a Symbolic Algebra in Pure Perl. SYNOPSIS Example symbols.pl #!perl -w -I.. use Math::Algebra::Symbols hyper=>1; use Test::Simple tests=>5; ($n, $x, $y) = symbols(qw(n x y)); $a += ($x**8 - 1)/($x-1); $b += sin($x)**2 + cos($x)**2; $c += (sin($n*$x) +...
Platforms: *nix
License: Freeware | Size: 102.4 KB | Download (162): Math::Algebra::Symbols Download |
Array::Utils module contains small utils for array manipulation. SYNOPSIS use Array::Utils qw(:all); my @a = qw( a b c d ); my @b = qw( c d e f ); # symmetric difference my @diff = array_diff(@a, @b); # intersection my @isect = intersect(@a, @b); # unique union my @unique =...
Platforms: *nix
License: Freeware | Size: 2.05 KB | Download (91): Array::Utils Download |
Array::Iterator is a simple class for iterating over Perl arrays. SYNOPSIS use Array::Iterator; # create an iterator with an array my $i = Array::Iterator->new(1 .. 100); # create an iterator with an array reference my $i = Array::Iterator->new(@array); # create an iterator with a...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (99): Array::Iterator Download |
Array::PatternMatcher is a pattern matching for arrays. SYNOPSIS This section inlines the entire test suite. Please excuse the ok()s. use Array::PatternMatcher; Matching logical variables to input stream # 1 - simple match of logical variable to input my $pattern = AGE ; my $input =...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (118): Array::PatternMatcher Download |
Generic Java Algebra Library is a collection that includes generic class definitions in GJ/Generic Java/JSR-014. It helps to outline algebraic structures such as Monoids, SemiGroups, Groups, Rings, Fields and various Domains. It is very useful for math development. Eases the work of mathematicains.
Platforms: Windows
License: Freeware | Download (47): Generic Java Algebra Library Download |
create array from comma separated list script uses the PHP Explode() command to create an array from a comma separated list.By changing the delimiter you can convert tab separated, newline separated, etc...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (60): create array from comma separated list Download |
This simple PHP example shows how to read a text file into an array, with each line of the file as a seperate element.
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (65): read file to array Download |
search array find in array script searches an array to find a specific value.
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (63): search array find in array Download |