| Math :: Zap :: Matrix2 Math :: Zap :: Matrix2 è un modulo perl per la manipolazione di 2 * 2 matrice. |
Scarica ora |
Math :: Zap :: Matrix2 Classifica e riepilogo
- Licenza:
- Perl Artistic License
- Nome editore:
- Philip R. Brenan
- Sito web dell'editore:
- http://search.cpan.org/~prbrenan/Math-Zap-1.07/lib/Math/Zap/Triangle2.pm
Math :: Zap :: Matrix2 Tag
Math :: Zap :: Matrix2 Descrizione
Math :: Zap :: Matrix2 è un modulo perl per la manipolazione di 2 * 2 matrice. Math :: Zap :: Matrix2 è un modulo perl per 2 * 2 manipolazione a matrice.synopsisexample t / matrix2.t #_ matrice __________________________________________________________________________________________________________________________________________________a matrici # philipprenan@yahoo.com, 2004, licenza perl #__________________________________________________________________________ : Zap :: matrix2 identity => i; Usa matematica :: ZAP :: vettore2; Usa Test :: Test semplici => 8; My ($ A, $ B, $ C, $ V); $ a = matrix2 (8, 0, 0, 8,); $ B = Matrix2 (4, 2, 2, 4,); $ c = matrix2 (2, 2, 1, 2); $ v = vector2 (1,2); OK ($ A / $ A == IO ()); OK ($ B / $ B == I ()); OK ($ c / $ c == i ()); OK (2 / $ A * $ A / 2 == IO ()); OK ($ A + $ B) / ($ A + $ B) == IO ()); OK (($ A- $ c) / ($ a- $ c) == i ()); OK (- $ A / - $ a == i ()); OK (1 / $ A * ($ A * $ V) == $ V); Requisiti: · Requisiti perl: · Perl.
Math :: Zap :: Matrix2 Software correlato