subroutine mod_matrix::m_setsub ( type(matrix),intent(inout)  m,
integer,intent(in),optional  r_lbound,
integer,intent(in),optional  r_ubound,
integer,intent(in),optional  c_lbound,
integer,intent(in),optional  c_ubound,
type(matrix),intent(in)  m_sub 
)

locally matrix updating

Author:
Abal-Kassim Cheik Ahamed <akcheik@gmail.com>
Parameters:
m : type(matrix)
r_lbound : lower row boundary (optional)
r_ubound : upper row boundary (optional)
c_lbound : lower column boundary (optional)
c_ubound : upper column boundary (optional)
m_sub : submatrix
Date:
29th of March, 2011
Remarks:
Returns:
res : sub matrix element
Exceptions:
boundary :

  • $ 1 \ge r\_lbound \le m%rows $
  • $ 1 \ge r\_ubound \le m%rows $
  • $ 1 \ge c\_lbound \le m%cols $
  • $ 1 \ge c\_ubound \le m%cols $
  • $ (r\_ubound-r\_lbound+1) \neq m\_sub%rows $

Definition at line 973 of file matrix.f90.

 All Classes Namespaces Files Functions Variables Defines