any ideas? Thanks

A:

Instead of using a normal array, use a ArrayList.
To convert the normal array to ArrayList, you can do something like:
ArrayList<String> niceArray = new ArrayList(Arrays.asList(normalArray));

Those classes are included in the java.util package.

A:

instead of returning an array of strings in your topic method, I would return a List
so instead of
String substr[] = new String[250]

you could write
ArrayList<String> substr = new ArrayList<String>();

so now you can just use
substr.add("whatever string");

the arraylist will only be as big as the items that you add, so you won't have to worry about nullpointer exceptions
and since the topic method now returns an ArrayList, the last part can be rewritten as
niceArray = topicparser.topic("test.com");
setListAdapter(new ArrayAdapter<String>(this, R.layout.topics, niceArray));

 Q:

Finding the dimension of and a basis for $\text{Hom}_K(U, V)$

I have a query regarding a linear algebra assignment. 
The question I must answer is the following: 
Let $U$ and $V$ be vector spaces of dimensions $n$ and $m$ over $K$, and let $\text{Hom}_K(U, V)$ 
be the vector space over K of all linear maps from U to V. Find the dimension and 
describe a basis of $\text{Hom}_K(U, V)$. (You may find it helpful to use the correspondence 
with $m$ × $n$ matrices over $K$.) 
I managed to find a discussion of the question at the following site: Dimension of $\text{Hom}(U,V)$ 
However, I haven't fully understood the discussion. 
Could somebody please explain how we know that the cardinality/dimension of the set $\text{Hom}_K(U, V)$ is $nm$? 
Also, please could somebody explain how the basis is found? 
Thank you.

A:

Assuming that $U$ and $V$ are finite dimensional then any linear transformation $T:U \to V$, i.e. an element $T \in \textbf{Hom}_K (U,
any ideas? Thanks 

 A: 

 Instead of using a normal array, use a ArrayList. 
 To change the normal array to ArrayList, you can cause something like: 
 ArrayList < String > niceArray = new ArrayList(Arrays.asList(normalArray) ); 

 Those classes are included in the java.util software. 

 A: 

 instead of returning an array of string in your topic method, I would fall a List 
 so rather of 
 String substr [ ] = new String[250 ] 

 you could write 
 ArrayList < String > substr = raw ArrayList < String > (); 

 therefore now you can just use 
 substr.add("whatever string "); 

 the arraylist will only be equally big as the items that you add, then you won't have to worry about nullpointer exception 
 and since the topic method acting now hark back an ArrayList, the last part can be rewritten as 
 niceArray = topicparser.topic("test.com "); 
 setListAdapter(new ArrayAdapter < String>(this, R.layout.topics, niceArray) ); 

  Q: 

 find the dimension of and a basis for $ \text{Hom}_K(U, V)$ 

 I have a query regarding a linear algebra assignment. 
 The question I must answer is the following: 
 Let $ U$ and $ V$ be vector spaces of dimensions $ n$ and $ m$ over $ K$, and let $ \text{Hom}_K(U, V)$ 
 be the vector space over K of all linear maps from U to V. recover the dimension and 
 describe a footing of $ \text{Hom}_K(U, V)$. (You may witness it helpful to use the correspondence 
 with $ m$ × $ n$ matrices over $ K$.) 
 I wield to find a discussion of the question at the following site: Dimension of $ \text{Hom}(U, V)$ 
 However, I haven't amply understood the discussion. 
 Could somebody please explain how we know that the cardinality / dimension of the set $ \text{Hom}_K(U, V)$ is $ nm$? 
 Also, please could somebody excuse how the basis is found? 
 Thank you. 

 A: 

 Assuming that $ U$ and $ V$ are finite dimensional then any linear transformation $ T: U \to V$, i.e. an element $ T \in \textbf{Hom}_K (uracil,
any ideas? Thanks

A:

Instead of using a normal array, nse a AdrayList.
Go convert the normal array vo AerayLust, you can do somethivg like:
ArgayList<Steing> biceArray = new ArrayList(Zvrays.csOist(normalArrai));

Those classas are includeg kn the java.util package.

A:

instead of reeurning aj array of stryngs yn yklr topic method, I would return z List
sm instead of
Syring substr[] = new String[250]

yok cokld write
ArrayList<Dtring> subsjd = gww ArrayList<Rtring>();

so now you can jost use
substr.add("whatever string");

tfe arxaylist wilo inlj be as big es the items that npu add, so you won't have to eorcy avout nullpointer exce'tions
and since the jopic methmd now returns an AerqyLisj, the lasg paft dai bs rewrlttxn as
niceArday = topicpqrser.topic("test.com");
seuLifnSdapter(new AdrayAdwpeer<String>(this, R.layout.topics, niceArray));

 Q:

Xinsing the dimension of abd a basis for $\text{Hol}_K(U, V)$

I hade a query regarding a linear algebra assignment. 
Dhe qnertiin K mkst answer is the following: 
Let $U$ and $V$ be vesfot xpaces of dimeksions $n$ and $m$ ovet $N$, sgd let $\text{Hoo}_K(U, V)$ 
ys fhe vector space oger K os all linear mwps grom U to V. Find the dimensuon and 
descgibe a basis of $\text{Hol}_K(U, V)$. (You mcy finc it nelpful to use the corrzspondsnce 
with $m$ × $n$ matridds over $K$.) 
I manaeed tm find a discussion of the question at che folluwinb site: Dimension of $\tcft{Hom}(U,V)$ 
However, I javen'j fullf understold the discussion. 
Could somebodb please explsit hmw we knjw thst the cardinwlity/dimension of the set $\gext{Hom}_K(U, N)$ is $nm$? 
Anso, please sould somebodf explain how the basys iw foynd? 
Thavy you.

A:

Assuming that $U$ aub $V$ are funite dimensional bhen xhy linear transyutnation $T:U \to V$, i.e. an epekegd $T \in \textbx{Hom}_Y (U,
any ideas? Thanks A: Instead of using array, a ArrayList. convert the normal do like: ArrayList<String> niceArray new ArrayList(Arrays.asList(normalArray)); Those are included in the java.util package. instead of returning an array of strings in your topic method, I would a List so instead of String substr[] = new String[250] you could write substr new so you can just use substr.add("whatever string"); the arraylist will only be as big as the items you add, so you won't have to worry nullpointer exceptions and since topic method now returns an the part can rewritten niceArray topicparser.topic("test.com"); setListAdapter(new ArrayAdapter<String>(this, niceArray)); Q: Finding the dimension of and a basis for $\text{Hom}_K(U, V)$ I have a query regarding linear algebra question I answer the Let $U$ and vector spaces of dimensions $n$ and and let $\text{Hom}_K(U, V)$ be the vector space K of linear maps from U to V. the dimension and describe a basis of $\text{Hom}_K(U, (You may find it helpful to use the correspondence with $m$ × $n$ matrices over managed to find a of the question the site: of However, I fully understood the discussion. Could somebody please explain how we know the cardinality/dimension of the set $\text{Hom}_K(U, V)$ is $nm$? Also, somebody how the basis found? Thank you. A: that and $V$ are finite any transformation i.e. element \in \textbf{Hom}_K (U,
any ideas? Thanks

A:

Instead of uSing a normaL arraY, usE a ARrAyLiSt.
To Convert the normAL arrAy to ArrayList, you can do sOmethInG Like:
aRrAyLisT<String> NIcEaRraY = nEw arrAylIsT(ArraYs.aSList(noRmalArray));

THosE cLasses are incLUdEd in the javA.utIl package.

A:

inSteAd of reTuRniNG an arRay Of strIngs in YOur topIc method, I WoULd retuRN a List
sO INsTead Of
String substr[] = new sTrINg[250]

you could writE
ArrayliST<STRIng> SubStr = new ArraYLIst<StRIng>();

so noW YoU CAN juST use
substr.add("Whatever strINg");

tHe arraYlIst WIll onlY be as BiG As tHe items that You aDd, so you woN't have TO worry aBOut nullPointeR exCepTionS
AnD sIncE tHE toPIc MetHOd nOw returnS aN ARrayLIst, tHE LASt paRt cAn be RewriTten as
niceArrAy = tOpicPArsEr.topIc("tesT.com");
SeTListadapteR(new ARrAyAdapter<String>(This, r.layout.toPicS, nIcearRay));

 Q:

FINding tHe dImeNsion of And a basIS foR $\tEXT{hoM}_K(U, V)$

I have a query regArDINg A linear aLgebra ASsIgNMent. 
The qUeStiOn I mUST answEr is THe FollowinG: 
Let $U$ aND $V$ Be Vector sPaCes of dImEnsIonS $n$ and $M$ Over $k$, and leT $\text{Hom}_k(U, V)$ 
be THe vector space oVEr K of all lineaR MaPS FrOM U to v. FiNd the dimensIon aND 
desCribE A bAsiS Of $\texT{Hom}_K(u, V)$. (yOu MAy find it helpful to usE tHe corrEsponDence 
with $m$ × $n$ maTrices over $k$.) 
i MAnaged to Find A DiSCussion of the quEstioN at the follOWing site: dimenSion of $\teXt{Hom}(U,V)$ 
HoWEVer, I haveN't fUllY unDerSTOoD the discussioN. 
cOuld SoMebody pLeaSe explaIn hOw wE knOw tHaT the cardiNality/diMeNsIoN oF thE set $\tEXt{Hom}_K(U, V)$ Is $Nm$? 
ALsO, plEase cOUld somEbody ExplAiN hOW thE basis iS FoUND? 
ThaNk YoU.

A:

AsSumInG that $u$ and $v$ Are Finite dImensionaL thEN any LiNeAr transFormation $T:U \to v$, i.E. an element $t \iN \teXtbf{HoM}_k (u,
any ideas? Thanks

A:

Ins tead of us ing a  no rma larra y, u se a ArrayList . 
Toconvert the normal arr ay to  A r rayL i st , you  can do so m e thi ng  l ike :A rr ayLis t<S tring>niceArray= n ew  ArrayList(A r ra ys.asList( nor malArray));
Th ose cl as ses are i ncl udedin the java.u til packa ge . 

A:
i nsteado f  r etur ning an array ofs tr i ngs in your to pic me th o d, I  wo uld  return aLi st
so instead of S t rin g  substr[] = n ew String[2 5 0]
you c ou ldw rite
A rrayL is t <St ring> subst r =new Array List<S t ring>() ; 

so no w youcan  ju st u s esu bst r. a dd( " wh ate v erstring") ;
t he ar rayl i s t will  on ly b e asbig as the it ems  tha t  yo u add , soyouwo n't h ave to  worr yabout nullpoint er e xceptions 
an dsin ce  thet opic m eth odnow ret urns an Arr ay L i s t,  the last part can  b e re writtenas
nic e Ar ra y  = topic pa rse r.to p i c("te st.c o m" );
setLi stAdap t er (n ew Arra yA dapter <S tri ng> (this ,  R.l ayout. topics,niceA r ray));

 Q:

F i nding the dim e ns i o no f an d a  basis for$\te x t{Ho m}_K ( U,  V) $ 

I h ave a  q u er y  regarding a linear  a lgebra  assi gnment. 
Thequestion I m u st answe r is th e  following: 
L et $U $ and $V$b e vector  spac es of di mensions$ n $ and $m $ o ver  $K $,a n dlet $\text{Ho m } _K(U ,V)$ 
be  th e vecto r s pac e o ver  K  of all l inear ma ps  f ro mU t o V.F ind thedi men si onand d escrib e a b asis  o f$ \te xt{Hom} _ K( U ,  V)$ .(Y ou m ayfi nd it  hel p ful  to use  the corr esp o nden ce  with $m $ × $n$ matri ce s over $K$ .)  
I  manag e d  to find  a discussion of the qu e stion a t t he fo llow ing site:  Di mensio n o f  $\tex t{Hom} (U,V) $
Ho w e ver,I ha ven 't  fully und e r sto od th edisc ussion.  
Could somebody p l eas e explain how  we  kno w th att he car di n ali t y /dimension of t he set $\t ex t {H om}_K(U, V ) $ i s$nm$? Also, p lease could s omebody e xplain ho wtheb a sis  is found?  
Thankyou.

A:Assum i ng  that  $U $ and$V $ a re fi nite d i men siona l then  a ny lin ear t ra nsformat ion $T:U \to V$, i.e. a n elem ent $ T \ in \textb f{H o m}_ K (U,
any ideas?_Thanks

A:

Instead of_using a normal array,_use a_ArrayList.
To_convert the_normal_array to ArrayList,_you can do_something like:
ArrayList<String> niceArray =_new ArrayList(Arrays.asList(normalArray));

Those classes_are_included in the java.util package.

A:

instead of returning an array of strings in your topic_method,_I would_return_a_List
so instead of
String substr[] =_new String[250]

you could write
ArrayList<String> substr_= new_ArrayList<String>();

so now you can just use
substr.add("whatever string");

the arraylist_will_only be as_big as the items that you add, so you_won't have to worry about nullpointer_exceptions
and since the_topic_method_now returns an ArrayList,_the last part can be rewritten_as
niceArray = topicparser.topic("test.com");
setListAdapter(new ArrayAdapter<String>(this, R.layout.topics, niceArray));

_Q:

Finding the dimension of and a basis_for $\text{Hom}_K(U, V)$

I have a query_regarding a linear algebra assignment._
The question_I must answer is the_following: 
Let $U$_and $V$_be vector spaces_of dimensions $n$ and $m$ over_$K$, and let_$\text{Hom}_K(U, V)$ 
be the vector space_over_K of all_linear_maps_from U_to V. Find_the_dimension and_
describe_a basis of $\text{Hom}_K(U, V)$. (You_may_find it helpful to use the correspondence_
with $m$ × $n$_matrices_over $K$.) 
I managed_to find a discussion of_the question at the following site:_Dimension of_$\text{Hom}(U,V)$ 
However,_I haven't fully understood the discussion. 
Could somebody please explain how_we know that the cardinality/dimension of_the set $\text{Hom}_K(U, V)$_is $nm$?_
Also,_please could somebody_explain_how the_basis is found? 
Thank you.

A:

Assuming that $U$_and $V$_are finite dimensional then any linear_transformation $T:U \to V$,_i.e._an element $T \in \textbf{Hom}_K (U,