MATLAB BUILDER JA 2 Guida Utente Pagina 127

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 292
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 126
Using Class Methods
When run, the example displays this output:
Clone of matrix A is:
123456
7 8 9101112
13 14 15 16 17 18
compareTo. This method compares the MWArray object with the i nput object.
It returns a negative integer, ze ro,orapositiveintegerifthe
MWArray object is
less than, equal to, or greater than the specified object, respectively.
The prototype for the
compareTo method is as follow s:
public int compareTo(Object obj)
See the compareTo method in interface java.lang.Comparable for a full
description of the return value.
Input Parameters
obj
Array to compare this MWArray object to
Example Comparing MWArrays with compareTo
Create a shared copy of the MWArray object and then compare it to the original
object. A return value of zero i ndicates that the two objects a re equal:
Object S = A.sharedCopy();
if (A.compareTo(S) == 0)
System.out.println("Matrix S is equal to matrix A");
When run, the example displays this output:
Matrix S is equal to matrix A
4-51
Vedere la pagina 126
1 2 ... 122 123 124 125 126 127 128 129 130 131 132 ... 291 292

Commenti su questo manuale

Nessun commento

Anthem A2 manuály

Uživatelské manuály a uživatelské příručky pro Přijímače a zesilovače Anthem A2.
Poskytujeme 1 manuály pdf Anthem A2 ke stažení zdarma podle typů dokumentů: Uživatelský manuál






Další produkty a příručky pro Přijímače a zesilovače Anthem

Modely Typ Dokumentu
P5 Uživatelský manuál   Anthem P5 User Manual, 10 stránky
PVA 8 Uživatelský manuál   Anthem PVA 8 User Manual, 12 stránky
MRX 710 Uživatelský manuál   Anthem MRX 710 User Manual, 60 stránky
MRX 710 Uživatelský manuál   Anthem MRX 710 Manuel d'utilisation, 60 stránky
BLX 200 Uživatelský manuál   Anthem BLX 200 User Manual, 46 stránky