hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Trivial Update of "Matrix" by udanax
Date Sat, 02 Feb 2008 05:08:02 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The following page has been changed by udanax:
http://wiki.apache.org/hadoop/Matrix

------------------------------------------------------------------------------
  # ./bin/hbase shell
  
  
- // create table, e.g, "m_01" for a  
+ // create 10 by 10 random matrix 
  def a = random(10, 10)    
- // create table, e.g, "m_02" for b  
+ // create 10 by 10 random matrix  
  def b = random(10, 10) 
- // performing multiplication, result is in c, i.e. table "m_03"     
+ 
+ // performing multiplication     
  def c = a * b                   
  println c
- // drop table "m_03", c = null  
  c.clear()                        
  }}}
  ----

Mime
View raw message