One online hint said write it to a file. If you can write it to a file, you can write it to /dev/stdout on many systems. Of course, it might not be readable. JAVA says all objects must know how to render themselves to strings. This error comes from PDL::String, so you can look there to see what it is up to and how to make a more robust string generator: http://cpansearch.perl.org/src/CSOE/...ore/Core.pm.PL Maybe send it sub-matrices sized less than 10000 elements in x dimension order.
Hi everybody,
I have a matrix called @matrix dinamically built in PERL, so I don't know its exact sizes. It is a 2-dimensional matrix, so its elements are for example:
$matrix
$matrix
$matrix
$matrix
$matrix
etc...
I know i can get the number of the rows of the matrix with the... (2 Replies)
Hello guys,
I have in PERL an associative 2-dimensional array, called matrix. The array (actually the matrix) is made up like this
matrix = x;
matrix = y;
matrix = w;
matrix = z;
...
but the names a, b, c, d are set just at runtime.
The question is: how can i get all the keys of... (2 Replies)
A C G T -
A 5 -4 -4 -4 -5
C -4 5 -4 -4 -5
G -4 -4 5 -4 -5
T -4 -4 -4 5 -5
- -5 -5 -5 -5 0
So lets say I have a matrix which looks something like (above). Its basically a scoring matrix. the numbers are... (2 Replies)
I have a number of Windows CE operator terminals. They have facility to print alarms/messages to ...
aser or Inkjet (so they're using PCL).
USB or IP. IP connection takes just the IP address.
Question
How could I create a service or daemon on a server to capture all this data?... (7 Replies)
I have columnar data in arrays perl, Example -
@a = (1,2,3);
@array1 = (A,B,C);
@array2 = (D,E,F);
@array3 = (I,R,T);
I want the data to be formatted and printed as
1 A D I
2 B E F
3 C F T
and so on... (8 Replies)
Greetings, salutations.
I have a 3 column csv file with ~13 million rows and I would like to generate a correlation matrix. Interestingly, you all previously provided a solution to the inverse of this problem. Thread title: "awk? adjacency matrix to adjacency list / correlation matrix to list"... (6 Replies)
Dear all,
I'm new in perl scripting and I'm trying to creating a matrix from a 3 column file sorting data in a particular manner. In the final matrix I need to have the first column "IDs" on the header of the columns and the second column values on the header of each row. And the value fo the... (2 Replies)
Hello all,
I have a tricky question! (at least for me it is!). I'll try to explain it carefully here. Hope you can help me solving the whole or even parts of it! Here it is:
I have a big input 0\1 table as a very simplified one is shown below:
(The last row and column are the sum and... (0 Replies)
PDL(3) User Contributed Perl Documentation PDL(3)NAME
PDL - the Perl Data Language
DESCRIPTION
(For the exported PDL constructor, pdl(), see PDL::Core or pdl[2])
PDL is the Perl Data Language, a perl extension that is designed for scientific and bulk numeric data processing and display. It extends
perl's syntax and includes fully vectorized, multidimensional array handling, plus several paths for device-independent graphics output.
For basic information on the PDL language, see the pdl(1) (lowercase) man page.
You can run PDL programs directly as perl scripts that include the PDL module (with "use PDL;"), or via an interactive shell (see the
perldl(1) man page).
The PDL language extension includes about a dozen perl modules that form the core of the language, plus additional modules that add further
functionality. The perl module "PDL" loads all of the core modules automatically, making their functions available in the current perl
namespace. See also PDL::Lite or PDL::LiteF if start-up time becomes an issue.
EXPORTS:
"use PDL;" exports a large number of routines into the calling namespace. If you want to avoid namespace pollution, you must instead
"use PDL::Lite", and include any additional modules explicitly.
NICESLICE:
Note that the PDL::NiceSlice syntax is NOT automatically loaded by "use PDL;". If you want to use the extended slicing syntax in a
standalone script, you must also say "use PDL::NiceSlice;".
PDL::Math:
The PDL::Math module has been added to the list of modules for versions later than 2.3.1. Note that PDL::Math is still not included in
the Lite and LiteF start-up modules.
SYNOPSIS
use PDL; # Is equivalent to the following:
use PDL::Core;
use PDL::Ops;
use PDL::Primitive;
use PDL::Ufunc;
use PDL::Basic;
use PDL::Slices;
use PDL::Bad;
use PDL::MatrixOps;
use PDL::Math;
use PDL::Version;
use PDL::IO::Misc;
use PDL::IO::FITS;
use PDL::IO::Pic;
use PDL::Lvalue;
perl v5.12.1 2010-01-01 PDL(3)