class_docstr: Class to read matlab 4 variables 
class_docstr_tok: ["Class","to","read","matlab","4","variables"]
docstr: Full (rather than sparse) matrix getter
  
  Read matrix (array) can be real or complex
  
  Parameters
  ----------
  hdr : ``VarHeader4`` instance
  
  Returns
  -------
  arr : ndarray
      complex array if ``hdr.is_complex`` is True, otherwise a real
      numeric array
docstr_tok: ["Full","(","rather","than","sparse",")","matrix","getter","Read","matrix","(","array",")","can","be","real","or","complex","Parameters","--","--","--","--","--","hdr",":","``","VarHeader4","``","instance","Returns","--","--","--","-","arr",":","ndarray","complex","array","if","``","hdr.is_complex","``","is","True",",","otherwise","a","real","numeric","array"]
code: def read_full_array(self, hdr):
      """Full (rather than sparse) matrix getter
  
      Read matrix (array) can be real or complex
  
      Parameters
      ----------
      hdr : ``VarHeader4`` instance
  
      Returns
      -------
      arr : ndarray
          complex array if ``hdr.is_complex`` is True, otherwise a real
          numeric array
      """
      if hdr.is_complex:
          # avoid array copy to save memory
          res = self.read_sub_array(hdr, copy=False)
          res_j = self.read_sub_array(hdr, copy=False)
          return res + (res_j * 1j)
      return self.read_sub_array(hdr)
  
imports: from __future__ import division, print_function, absolute_import
  import sys
  import warnings
  import numpy
  from numpy.compat import asbytes, asstr
  import scipy.sparse
  from scipy._lib.six import string_types
  from .miobase import MatFileReader, docfiller, matdims, read_dtype, convert_dtypes, arr_to_chars, arr_dtype_number
  from .mio_utils import squeeze_element, chars_to_strings
  from functools import reduce
label_desc: Use image node_id 5 for calling the VarReader4 obj's underlying member method code with example usage: obj.read_full_array(hdr) and returns: self, unknown