Math:: MatrixReal:: Aug 0.02 - Math::MatrixReal::Aug 0.02

Math:: MatrixReal:: Aug 0.02

Sponsored Links

Math:: MatrixReal:: Aug 0.02: Zusammenfassung

Rang Klicken Sie auf den Stern auf RangRanking-Ebene:
Overall ranking: 0 (0 times) Herunterladen
Dateigröße: 0.004 MB Flatform: Any Platform Liscense: Perl Artistic License Preis: Download-Zahl: 8431 Datum: 2007-07-05 Verlag: Other Publisher

Math:: MatrixReal:: Aug 0.02: Beschreibung



SYNOPSE

Gebrauch Mathe:: MatrixReal;
Gebrauch Mathe:: MatrixReal:: Aug;

Diese sind bestimmte Extramethoden für Mathe:: MatrixReal, in der Tradition von Mathe:: MatrixReal:: Ext1;

$matrix1->augmentright ($matrix2);

Erstellt eine neue Grundmasse des Formulars [$matrix1 $matrix2]. $matrix1 und $matrix2 müssen die gleiche Zahl Reihen haben.

Beispiel:

$A = Mathe:: MatrixReal->new_from_cols ([[1.0]]);
$B = Mathe:: MatrixReal->new_from_cols ([[1.2], [2.1]]);

C = $A/$B
Druck C;

[1.000000000000E+00 1.000000000000E+00 2.000000000000E+00]
[0.000000000000E+00 2.000000000000E+00 1.000000000000E+00]

$matrix1->augmentbelow ($matrix2);

Erstellt eine neue Grundmasse des Formulars [$matrix1] [$matrix2]. $matrix1 und $matrix2 müssen die gleiche Spaltenzahl haben.

Beispiel:

$A = Mathe:: MatrixReal->new_from_cols ([[1.0], [0.1]]);
$B = Mathe:: MatrixReal->new_from_cols ([[1.2], [2.1]]);

C = $A/$B
Druck C;

[1.000000000000E+00 0.000000000000E+00]
[0.000000000000E+00 1.000000000000E+00]
[1.000000000000E+00 2.000000000000E+00]
[2.000000000000E+00 1.000000000000E+00]

$matrix->applyfunction ($coderef)

Wendet &$coderef an jedem Element von $matrix an und bringt das Resultat zurück. $coderef sollte ein Hinweis auf einer Subroutine sein, die vier Parameter nimmt: ($matrix, $matrix->element ($i, $j), $i, $j), wo $i und $j Reihe und die Säuleanzeigemarken des Stromanpassungsgliedes sind.

Beispiel:

Vorstufensprung {
mein ($matrix, $element, $i, $j)=@_;
Rückhol$element+1;
}

$A = Mathe:: MatrixReal->new_from_cols ([[1.0], [0.1]]);

$E=$A->applyfunction (&increment);
Druck $E;
[2.000000000000E+00 1.000000000000E+00]
[1.000000000000E+00 2.000000000000E+00]
$matrix->largeexponential ($exponent)

Findet $matrix^$exponent using die Quadrat-undmultiplizieren Methode. $matrix muß quadratisch sein und $exponent muß eine positive ganze Zahl sein. Viel effizienter für großes $exponent als $matrix->$exponential ($exponent) dadurch, dass ungefähr Vermehrungen log2 ($exponent) anstelle von ungefähr $exponent benötigt werden.

$matrix->fill ($const);

Stellt alle Elemente des $matrix Gleichgestellten auf $const ein.

Beispiel:

$A = neues Mathe:: MatrixReal (3.3);
$A->fill (4);
Druck $A;
[4.000000000000E+00 4.000000000000E+00 4.000000000000E+00]
[4.000000000000E+00 4.000000000000E+00 4.000000000000E+00]
[4.000000000000E+00 4.000000000000E+00 4.000000000000E+00]
$new_matrix = $some_matrix->newfill ($rows, $columns, $const); $new_matrix = Mathe:: MatrixReal->newfill ($rows, $columns, $const);

Erstellt eine neue Grundmasse der spezifizierten Größe, von der alle Elemente $const sind.

Beispiel:

$A = Mathe:: MatrixReal->newfill (3.3.4);
Druck $A;
[4.000000000000E+00 4.000000000000E+00 4.000000000000E+00]
[4.000000000000E+00 4.000000000000E+00 4.000000000000E+00]
[4.000000000000E+00 4.000000000000E+00 4.000000000000E+00]

Herunterladen

Math:: MatrixReal:: Aug 0.02: Screenshot

Sponsored Links
Math:: MatrixReal:: Aug 0.02 herunterladen

Math:: MatrixReal:: Aug 0.02: Stichwort

Math:: MatrixReal:: Aug 0.02: Lesezeichen

Hyperlink code:
Hyperlink and Intro code:

Math:: MatrixReal:: Aug 0.02: verwandt software

Math:: MatrixReal:: Aug 0.02: Revision
den Namen des Autors :  
Autor E-Mail :  
Kommentar :  
Sicherheits-Code :  
     
   
Meine Software
Sie haben noch keine Software. Klicken Sie auf Save "neben den einzelnen Software, um ihn zu speichern, um Ihre Software-Korb"
Verwandte Suche
Sponsored Links