Hi all,
Is there a way to convert full data matrix to linearised left data matrix?
e.g full data matrix
Bh1 Bh2 Bh3 Bh4 Bh5 Bh6 Bh7
Bh1 0 0.241058 0.236129 0.244397 0.237479 0.240767 0.245245
Bh2 0.241058 0 0.240594 0.241931 0.241975 ... (8 Replies)
Pango::Matrix(3pm) User Contributed Perl Documentation Pango::Matrix(3pm)NAME
Pango::Matrix - A structure specifying a transformation between user-space coordinates and device coordinates
HIERARCHY
Glib::Boxed
+----Pango::Matrix
METHODS
matrix = Pango::Matrix->new ($xx=1., $xy=0., $yx=0., $yy=1., $x0=0., $y0=0.)
o $xx (double)
o $xy (double)
o $yx (double)
o $yy (double)
o $x0 (double)
o $y0 (double)
$matrix->concat ($new_matrix)
o $new_matrix (Pango::Matrix)
$matrix->rotate ($degrees)
o $degrees (double)
$matrix->scale ($scale_x, $scale_y)
o $scale_x (double)
o $scale_y (double)
(dx, dy) = $matrix->transform_distance ($dx, $dy)
o $dx (double)
o $dy (double)
Since: pango 1.16
array reference = $matrix->transform_pixel_rectangle ($rect)
o $rect (array reference)
Since: pango 1.16
(x, y) = $matrix->transform_point ($x, $y)
o $x (double)
o $y (double)
Since: pango 1.16
array reference = $matrix->transform_rectangle ($rect)
o $rect (array reference)
Since: pango 1.16
$matrix->translate ($tx, $ty)
o $tx (double)
o $ty (double)
double = $matrix->x0 ($new)
o $new (double)
double = $matrix->xx ($new=0)
o $new (double)
double = $matrix->xy ($new)
o $new (double)
double = $matrix->y0 ($new)
o $new (double)
double = $matrix->yx ($new)
o $new (double)
double = $matrix->yy ($new)
o $new (double)
SEE ALSO
Pango, Glib::Boxed
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Pango for a full notice.
perl v5.14.2 2011-11-15 Pango::Matrix(3pm)