sla.multiply           package:RScaLAPACK           R Documentation

_M_a_t_r_i_x _M_u_l_t_i_p_l_i_c_a_t_i_o_n _u_s_i_n_g _S_c_a_l_a_p_a_c_k _f_u_n_c_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     Given the input matrices, the generic function returns the result
     of  multiplication operation performed using the ScaLAPACK library
     routine.

_U_s_a_g_e:

     sla.multiply(A, B, NPROWS, NPCOLS, MB, RFLAG, SPAWN)

_A_r_g_u_m_e_n_t_s:

       A: A square numeric matrix containing the coefficients of the
          linear system.

       B: A numeric vector or matrix giving the RHS of the linear
          system. 

  NPROWS: Number of Process Rows in the Process Grid. 

  NPCOLS: Number of Process Cols in the Process Grid. 

      MB: Block Size. 

   RFLAG: Flag saying whether the Process Grid should be released after
          computation.

   SPAWN: Flag saying whether a new Process Grid should be spawned.

_D_e_t_a_i_l_s:

     If the number of processor rows and columns are both zero, one
     processor is used.  If the number of processor rows is nonzero and
     the number of processor columns is zero, then the processor rows
     is taken to be a  number of processors, and a grid is made
     accordingly.

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.netlib.org/scalapack/>

_S_e_e _A_l_s_o:

     The matrix-matrix multiplication function in R a%*%b.

_E_x_a_m_p_l_e_s:

     library(RScaLAPACK)
     rnorm(100)->x
     dim(x)=c(10,10)
     y<-matrix(rnorm(10*10),10,10)
     sla.multiply(x,y)

