Scalar
Scalar::Defer is a Perl module to calculate values on demand. SYNOPSIS use Scalar::Defer; # exports defer and lazy my ($x, $y); my $dv = defer { ++$x }; # a deferred value (not memoized) my $lv = lazy { ++$y }; # a lazy value (memoized) print "$dv $dv $dv"; # 1 2 3 print "$lv $lv $lv";...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (89): Scalar::Defer Download |
Tie::Scalar::Sticky is a Perl module with block assignments to scalars. SYNOPSIS use strict; use Tie::Scalar::Sticky; tie my $sticky, Tie::Scalar::Sticky; $sticky = 42; $sticky = ; # still 42 $sticky = undef; # still 42 $sticky = 0; # now its zero tie my $sticky, Tie::Scalar::Sticky...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (88): Tie::Scalar::Sticky Download |
Scalar::MultiValue is a Perl module to create a SCALAR with multiple values. This module create a SCALAR with multiple values, where this values can be randomic or can change by a defined period. USAGE: With a period of 2: my $s = new Scalar::MultiValue( [qw(a b c d)] , 2 ) ; for(0..8)...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (99): Scalar::MultiValue Download |
Scalar::Util is a selection of general-utility scalar subroutines. SYNOPSIS use Scalar::Util qw(blessed dualvar isweak readonly refaddr reftype tainted weaken isvstring looks_like_number set_prototype); Scalar::Util contains a selection of subroutines that people have expressed would be...
Platforms: *nix
License: Freeware | Size: 43.01 KB | Download (97): Scalar::Util Download |
Scalar::Properties is a Perl module package that contains run-time properties on scalar variables. SYNOPSIS use Scalar::Properties; my $val = 0->true; if ($val && $val == 0) { print "yup, its true alright...n"; } my @text = ( hello world->greeting(1), forget it, hi...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (94): Scalar::Properties Download |
Variable::Strongly::Typed::Scalar is Perl module for strongly typed scalar. SYNOPSIS This class is utilized by Variable::Strongly::Typed - you dont access this directly =head1 DESCRIPTION.
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (90): Variable::Strongly::Typed::Scalar Download |
Scalar is an addictive cross-platform puzzle game written in C++ using SDL library. The goal of the game is to assemble the picture from pieces. Each picture is divided into pieces which are shuffled. You need to get each piece back to its original position. You accomplish that by swapping...
Platforms: *nix
License: Freeware | Size: 2.6 MB | Download (96): Scalar Download |
Scalar::Footnote is a Perl module that can attach hidden scalars to references. SYNOPSIS use Data::Dumper; use Scalar::Footnote; my $obj = Foo->new; # attach invisible footnote to $obj: $obj->Scalar::Footnote::set( my_key => my footnote ); print Dumper( $obj ); # get it back: my...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (94): Scalar::Footnote Download |
The Scalar Field Gradient Model displays the gradient of a scalar field using a numerical approximation to the partial derivatives. This simple teaching model also shows how to display and model scalar and vector fields using EJS. The EJS Scalar Field Gradient Model was created using the Easy...
Platforms: Mac
License: Freeware | Size: 931.84 KB | Download (36): Scalar Field Gradient Model Download |
This allows you to have a scalar which has to stay within a certain margin of error. Your code will die (or execute what was passed in via the 'callback' subref) if the scalar's value goes outside this range. You tie a variable, and give it an initial value and a tolerance. Your code will die...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (33): Tie::Scalar::MarginOfError Download |
Tie::CountLoop is a Perl module that helps you have a counter looping in a scalar with min max and increment value. SYNOPSIS use Tie::CountLoop; tie my $counter , Tie::CountLoop,15 ,-1 ,15 ,7 ,0; my $t = tied $counter; $t->increment( 1 ); for ( 1 .. 20 ) { print " <<$counter>> <$_>...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (92): Tie::CountLoop Download |
Outputs L(x) where x is a vector or scalar. L(0) explicitly set to 0.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): Langevin.m Download |
GUI control to allow user to input a scalar. The callback is called continuously as the user steps the spinner. For example if the value was contrast in an image-processing application, the image could update as the user presses on the control.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (39): uispinner Download |
ORTHA Orthonormalization Relative to matrix AQ=ortha(A,X)Q=ortha('Afunc',X)computes an orthonormal basis Q for the range of X, relative to the scalar product using a positive definite and selfadjoint matrix A. That is, Q'*A*Q = I, the columns of Q span the same space as columns of X, and...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): ortha.m Download |
Rounds a scalar, vector or matrix to a specified number of decimal places.Syntax roundoff(number,decimal_places)
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): roundoff Download |
For fingerprint images WSQ (Wavelet Scalar Quantization) is superior to other lossy compression methods, such as JPEG, and was chosen by FBI (U.S. Federal Bureau of Investigation) as the fingerprint image compression standard. WSQ is a lossy compression method that is well-suited for preserving...
Platforms: Windows
License: Demo | Cost: $252.00 USD | Size: 772 KB | Download (113): WSQ image library (for fingerprints) Download |
Astro::VO::VOEvent is an object interface to parse and create VOEvent messages. SYNOPSIS To parse a VOEvent file, $object = new Astro::VO::VOEvent( File => $file_name ); or $object = new Astro::VO::VOEvent( XML => $scalar ); Or to build a VOEVENT file, $xml = $object->build( %hash...
Platforms: *nix
License: Freeware | Size: 21.5 KB | Download (87): Astro::VO::VOEvent Download |
Stream::Reader is a stream reader Perl class. SYNOPSIS # Input stream can be reference to TYPEGLOB or SCALAR, output stream # can be the same types or undefined # Constructor $stream = Stream::Reader->new( *IN, { Limit => $limit, BuffSize => $buffsize, Mode => UB } ); # Reading all...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (107): Stream::Reader Download |
Contextual::Return is a Perl module to create context-senstive return values. SYNOPSIS use Contextual::Return; use Carp; sub foo { return SCALAR { thirty-twelve } BOOL { 1 } NUM { 7*6 } STR { forty-two } LIST { 1,2,3 } HASHREF { {name => foo, value => 99} } ARRAYREF { [3,2,1] }...
Platforms: *nix
License: Freeware | Size: 22.53 KB | Download (97): Contextual::Return Download |
Thread::Tie can tie variables into a thread of their own. SYNOPSIS use Thread::Tie; # use as early as possible for maximum memory savings # use default thread + tieing + create thread when needed tie $scalar, Thread::Tie; tie @array, Thread::Tie; tie %hash, Thread::Tie; tie *HANDLE,...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (101): Thread::Tie Download |